Patent · US Expired

Optimization of garbage collection code in the context of raw native interface function calls in the java programming language

US6484188B1 · kind B1 · utility

49Cited by
4References
18Claims
0Family size

Assignee

Inventors

Key dates

Filing dateDec 30, 1999
Grant dateNov 19, 2002
Priority date
Expiry dateDec 30, 2019

Classification

  • Technology area (CPC Y)Emerging Cross-Sectional Technologies
  • CPC primaryY10S707/99957
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A method of optimizing program code performance is disclosed. Applications written in the Java language can execute slowly. To speed up the execution time of a Java application certain slower executing methods within the application can be written in native code. When the slower executing methods are written in native code some of the advantages, such as automatic garbage collection, of the Java language are lost. Further, the resultant interface function calls between the Java methods and the native methods can result in inefficient code. The method optimizes programs written using both Java methods and native methods, i.e. mixed mode code, by analyzing a set of interface function calls from native methods to a Java Virtual Machine. Then selects a plurality of the interface function calls to either eliminate or move within the program code by analyzing either the bytecode and the intermediate language, or both, for either inefficient code constructs or inefficient code containing native interface function calls to perform garbage collection.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.