Method and system of controlling dynamically compiled native code size
Abstract
Space occupied by native code associated with a first method and stored within a native code space is reclaimed by determining whether the native code space exceeds a threshold in response to the invocation of a second method. Once the determination is made, byte code is compiled into native code associated with the second method and the native code associated with the first method may be reclaimed. In one embodiment, this reclamation occurs in response to a determination that the threshold has been exceeded and that the first method is inactive. In another embodiment, reclamation occurs in response to a determination that the threshold has been exceeded and that the first method is cold.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 19.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: storing native code associated with a first method and a second method within a native code space; associating a reference to the first method and the second method in a method table; determining whether the first method or the second method is invoked by detecting whether the first method or the second method correspond to the native code; determining whether the native code space exceeds a predefined native code space size threshold in response to an invocation of the first method or the second method wherein the determination whether the native code space exceeds the pr
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 19 total)
References Cited — Backward Prior Art (14)
Non-Patent Literature (5)
- Adl-Tabatabai et al, Fast, Effective Code Generation in a Just-in-time Java Compiler, 1998, ACM.
- Meloan, The Java HotSpot Performance Engine:An I-Depth Look, Jun. 1999, Sun Microsystems.
- Michal Cierniak, Guei-Yuan Lueh, James M. Stichnoth, "Practicing JUDO: Java Under Dynamic Optimizations", PLDI 2000, pp. 13-26, Vancoucer, British Columbia, Canada, Copyright 2000.
- Stichnoth et al. Support for Garbage Collection at Every Instruction in a Java Compiler, 1999, ACM.
- Suganuma et al. Overview of the IBM Java Just-In-Time Compiler, Nov. 1, 2000, vol. 39, IBM Systems Journal.