Method and apparatus for efficient implementation of discontiguous objects
Abstract
A garbage collection system that needs to meet real-time requirements breaks large objects that need to be moved into a series of arraylets. The arraylets are sized such that the amount of time required to move the arraylets is bounded by a predetermined amount. The arrays are preferably uniformly represented in the header for each array with a series of arraylet pointers that indicate the location of the arraylets. Control-flow graph splitting is used to eliminate multiple tests and allow common sub-expression elimination. Strip-mining can also be used to improve the efficiency of the process.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of moving arrays as part of a garbage collection process, the method comprising: using a collector for entering a collection phase of a garbage collection process, wherein said garbage collection process is interleaved with a real-time application; using a mutator for: determining a maximum contiguous array size to be allocated from a heap, wherein the maximum contiguous array size is selected in accordance with desired performance levels; dividing arrays into long arrays and short arrays, wherein long arrays are arrays that are above the maximum contiguous array size, and short array
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗