Patent · US Active

Inlining native functions into compiled java code

US8312439B2 · kind B2 · utility

35Cited by
12References
23Claims
0Family size

Assignee

Inventors

Key dates

Filing dateApr 6, 2009
Grant dateNov 13, 2012
Priority date
Expiry dateMar 24, 2030

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.