Object relocation guided by data cache miss profile
Abstract
Data locality optimization through object relocation may be implemented in a virtual machine including a just-in-time compiler. The just-in-time compiler generates load instruction maps for each compiled method. A profile collector is coupled to the just-in-time compiler to receive hardware profiling support. The profile collector takes samples of data cache misses. A garbage collector is coupled to the profile collector. The garbage collector deduces types of objects from the cache miss samples and adjusts garbage collection object copying heuristics to relocate objects for better cache locality based on those types.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 5.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method comprising: using hardware profiling support to collect data cache miss profile; recognizing types of objects that create cache misses; and dynamically adjusting object copying heuristics during a copying phase of a generational garbage collector.
- Claim 2Depends on #1
The method of claim 1 including using a just-in-time compiler to generate a load instruction map for a compiled method.
- Claim 3Depends on #2
The method of claim 2 including using an instruction map to translate an instruction pointer address in data cache miss samples into objects and object types.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗