Reducing the memory footprint of applications executed in a virtual machine
Abstract
A smaller footprint is loaded into the virtual machine by loading only those methods of library classes that the executed application actually requires. This is accomplished by taking the classes of the targeted application and statically determining which methods of these classes, as well as of the library classes, can actually be used by the application. A generated method usage map of usable methods for each class are saved in a file. At runtime, the virtual machine consults this file and selectively loads into memory only those classes listed in the file. This saves memory space in the virtual machine and speeds execution.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for loading methods into a virtual machine, the methods contained in one or more classes, the method including: recursively scanning through application code beginning at an application entrypoint to determine which methods may be called and the classes to which they correspond; wherein said recursively scanning includes: finding all methods referenced in said application code; and finding all methods referenced in methods referenced in said application code; generating a method usage map having an identifier corresponding to each referenced method organized under
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 (8)
Non-Patent Literature (1)
- Hou et al. "Distributed and parallel execution of Java programs on a DSM system", 2001 IEEE, pp. 555-559.