Method and apparatus for transforming java native interface function calls into simpler operations during just-in-time compilation
Abstract
A method, apparatus, and computer instructions for transforming JAVA Native Interface function calls to constants, internal just-in-time (JIT) compiler operations or simpler intermediate representation. A compiler generates plurality of intermediate representations for a plurality of native interface function calls. During inlining of native code, matching is performed on each native function call (against this list) and a list of native interface function calls is generated. For each native interface function call, a (JIT) call transformer attempts to replace the native interface function call with a constant, internal JIT compiler operation or a simpler intermediate representation depending on the type of native interface function call.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 18.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method in a data processing system for transforming native interface function calls into simpler operations during just-in-time compilation, the method comprising: constructing a list of shapes rendered in an intermediate language of a just-in-time compiler and representing a plurality of native interface function calls; identifying a list of native interface function calls for possible transformation by matching the plurality of native interface function calls made in the native language program against the list of shapes; performing a definition and use analysis on each of the list of iden
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 18 total)
References Cited — Backward Prior Art (11)
Non-Patent Literature (5)
- "IBM Rewrites the Book on Java(TM) Performance", 17 pages, uploaded Jun. 21, 2000. http://www.developer.ibm.com/java/j2/j2perfpaper.html.
- "IBM Rewrites the Book on Java™ Performance", 17 pages, uploaded Jun. 21, 2000. http://www.developer.ibm.com/java/j2/j2perfpaper.html.
- "Native lnlining", 1 pg., uploaded May 21, 2004. http://www.str.com.au/jnibench/native-inlining.htm.
- Bacon, "JaLa A Java package for Linear Algebra", presented at the Computer Science Division, University of California, Berkley, 1998, IBM T.J. Watson Research Center, pp. 1-10.
- Bothner, "Java/C++ integration", Writing native Java methods in natural C++, Cygnus Solutions, Nov. 1997, 11 pages. http://gcc/gnu.org/java/papers/native++html.