Priority-based code cache management
Abstract
An arrangement is provided for improving the performance of a computing system, specifically for improving the efficiency of code cache management for a system running platform-independent programs with a small memory footprint. The code cache of such a system is continuously monitored during runtime. When a condition warrants performing code cache management, the priority-based code cache management is performed based on selective code garbage collection. The code garbage collection is conducted selectively for dead methods in the code cache based on probabilities of the dead methods being reused.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 13.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for improving performance of a system running a platform-independent program, comprising: receiving a first code; compiling the first code to a second code; and performing priority-based code cache management (CCM) to ensure there is enough memory space in a code cache for the second code, the code cache including a plurality of blocks of code, the priority-based CCM being performed based on a priority of each of the plurality of blocks of code, wherein priority of a block of code is determined at least in part by a value of a surviving method counter (SMC) for the block of code and t
- Claim 2Independent Claim
The meth
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (13 of 13 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (2)
- Kim Hazelwood, Michael D. Smith; "Code Cache Management Schemes for Dynamic Optimizers," Proceedings of the Sixth Annual Workshop on Interaction between Compilers and Computer Architectures (Interact '02), 2002 IEEE, pp. 1-9, USA.
- PCT/US2004/002791 Int'l Search Report & Written Opinion dated Feb. 15, 2006.