Pre-compiling hosted managed code
Abstract
A hosted pre-compilation system is described herein that provides a way to enable ahead-of-time compilation for managed code running inside a host. The host triggers ahead-of-time compilation at application runtime, after any configuration settings are available. The host can choose which modules to compile, when to compile them, and where to persist the generated images. Upon detecting a module load, the host can trigger pre-compilation, provide the loader an existing pre-compiled image of the module, or do nothing. The runtime/platform validates the integrity of any host-supplied pre-compiled image and provides application programming interfaces (APIs) to inform the host when an image becomes invalid and fails to load. The platform also provides APIs to let the host trigger compilation of binaries at any time relevant to the host, and to generate the images either synchronously or in a background process.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for loading a module in an intermediate language for use by a hosted environment, the method comprising: receiving a module load request; determining whether the module is being loaded within a hosted environment, wherein the hosted environment is isolated from a primary environment of a host machine, and wherein the hosted environment is an isolated environment configured to control security settings, resources accessing, and impose application restrictions; notifying the hosted environment of an attempt to load a module in the hosted environment; receiving a loc
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (11)
Non-Patent Literature (5)
- "Running the Sample Application Using AOT", Retrieved at <<http://publib.boulder.ibm.com/infocenter/realtime/v1r0/index.jsp?topic=/com.ibm.rt.doc.10/realtime/sample-running-aot.html >>, Retrieved Date: Mar. 12, 2010, pp. 3.
- “Running the Sample Application Using AOT”, Retrieved at <<http://publib.boulder.ibm.com/infocenter/realtime/v1r0/index.jsp?topic=/com.ibm.rt.doc.10/realtime/sample—running—aot.html >>, Retrieved Date: Mar. 12, 2010, pp. 3.
- Joisha, et al., "A Framework for Efficient Reuse of Binary Code in Java", Retrieved at >, International Conference on Supercomputing, Proceedings of the 15th international conference on Supercomputing, 2001, pp. 11.
- Joisha, et al., “A Framework for Efficient Reuse of Binary Code in Java”, Retrieved at <<http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.6.1313&rep=rep1&type=pdf >>, International Conference on Supercomputing, Proceedings of the 15th international conference on Supercomputing, 2001, pp. 11.
- Michaelf., "Linux and Windows Interoperability: On the Metal and On the Wire", Retrieved at >, Aug. 13, 2007, pp. 22.