Batch dispatch of java native interface calls
Abstract
A batching mechanism is provided that batches multiple Java Native Interface calls together such that the batch crosses the Java Native Interface boundary in a single transition. The batching mechanism operates by identifying a sequence of Java Native Interface calls to be made by native code, by encapsulating the identified sequence of Java Native Interface calls into a batch, and by communicating the batch as a single transition across the Java Native Interface boundary. In this manner, each call of the batch is encapsulated by iteratively performing for each call to be made, processes including identifying the Java Native Interface function to call, identifying the arguments to pass into the Java Native Interface function, dispatching to the Java Native Interface function and capturing the return value.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of dispatching multiple Java Native Interface calls comprising: identifying a sequence of Java Native Interface calls to be made by native code; determining if the sequence of Java Native Interface calls includes overhead for creating a local reference of an intermediate object and subsequent removal of that local reference; omitting Java Native Interface calls that include overhead for creating the local reference of an intermediate object and subsequent removal of that local reference from the sequence; encapsulating the sequence of Java Native Interface calls into a batch; and wher
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (16)
Non-Patent Literature (4)
- Dawid Kurzyniec and Vaidy Sunderam, "Efficient Cooperation between Java and Native Codes-JNI Performance Benchmark", Emory University, Dept. of Math and Computer Science, Atlanta, Georgia; The 2001 International Conference on Parallel and Distributed Processing Techniques and Applications, 2001.
- Green, Java Glossary: JNI, Canadian Mind Products (Published Jun. 7, 2003) retrieved from http://web.archive.org/web/20030607062956/http://mindprod.com/jgloss/jni.html on Jul. 27, 2013.
- IBM, JNI Handling Local References, IBM (Published Nov. 26, 2004) retrieved from http://publib.boulder.ibm.com/infocenter/javasdk/v1r4m2/index.jsp?topic=%2Fcom.ibm.java.doc.diagnostics.142j9%2Fhtml%2Fhandlocref.html on Oct. 21, 2013.
- Levon Stephananian, Angela Demke Brown, Allan Kielstra, Gita Koblents and Kevin Stoodley, "Inlining Java Native Calls At Runtime", VEE '05, Jun. 2005, Chicago, Illinois.