Patent · US Active

Method for inlining native functions into compiled java code

US7530059B2 · kind B2 · utility

11Cited by
0References
1Claims
0Family size

Assignee

Inventors

Key dates

Filing dateFeb 18, 2005
Grant dateMay 5, 2009
Priority date
Expiry dateNov 1, 2027

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F9/45516
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A method, apparatus, and computer instructions are provided for inlining native functions into compiled Java code. A conversion engine is provided by the present invention for converting the intermediate representation of native functions to the just-in-time (JIT) compiler's intermediate representation. With the converted intermediate representation, an inliner recursively inlines the converted JIT compiler's intermediate representation into the native callsite to remove the need of invoking the native function and subsequent native calls made by the function. The inlining process continues until either a call to an opaque function is encountered or until a JIT compiler intermediate representation growth limits are reached. The inliner also replaces calls to most native functions that are non-inlineable or opaque with calls to synthesized native functions that provide access to native libraries containing implementations of the original non-inlineable calls.

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