Methods and apparatus to implement annotation based thunking
Abstract
Methods and apparatus to implement annotation based thunking are disclosed. An example method comprises locating a parameter of a function, the parameter to be passed as a pointer if a size of the parameter is greater than a threshold and to be passed as data if the size of the parameter is not greater than the threshold, and adding an annotation record for the parameter to a byte code image file containing byte code for the function.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 28 · Forward citations: 7.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method comprising: identifying in source code corresponding to a function a parameter of the function, the parameter to be passed as a pointer if a size of the parameter is greater than a threshold and to be passed as data if the size of the parameter is not greater than the threshold; compiling the source code to generate executable byte code corresponding to the function; creating an annotation record for the parameter based on the source code, wherein the executable byte code is generated independent of the annotation record; and forming a compiled byte code image file containing the exec
- Claim 2Depends on #1
A method as defined in claim 1 , wherein the parameter is passed to the function when the function is called.
- Claim 3Depends on #1
A method as defined in claim 1 , wherein the parameter is returned from the function when the func
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (28)
Non-Patent Literature (5)
- Chen, Miaobo et al., "Java JNI Bridge: A Framework for Mixed Native ISA Execution," Proceedings of the International Symposium on Code Generation and Optimization, IEEE: Mar. 26-29, 2006, 11 pages.
- Intel, "Extensible Firmware Interface Specification", Dec. 1, 2002, 77 Pages.
- Microsoft; SAL Annotations; Microsoft; Apr. 20, 2006.
- Microsoft; SAL Annotations; Microsoft; Apr. 20, 2006; 6 pages. Retrieved from <http://web.archive.org/web/20060420093259/http://msdn2.microsoft.com/en-us/library/ms235402(VS.80).aspx>.
- Submitted herewith is a copy of a Written Opinion received on Jan. 11, 2007, in corresponding PCT Application No. PCT/CN2006/000529, filed Mar. 28, 2006, 3 pages.