Method and system for hybrid garbage collection of multi-tasking systems
Abstract
In general, the invention relates to a method for garbage collection. The method includes examining old regions to obtain a mark bitmap, a connectivity matrix, and fragmentation information, where the mark bitmap describes marked words and unmarked words for the old regions. The method further includes identifying a fragmented region in the old regions based on the fragmentation information, where the fragmented region includes at least one of the marked words. The method further includes copying the at least one of the marked words to a new region allocated from a pool of free regions, designating each of the unmarked words not in the fragmented region as free, adjusting a cross-region reference to the fragmented region in the marked words to point to the new region based on the connectivity matrix, and adding the fragmented region to the pool of free regions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for garbage collection comprising: determining a plurality of old regions associated with an application; obtaining a root for the application, wherein the root is for traversing an object graph of live objects for the application; creating a mark bitmap by traversing the object graph using the root, wherein the mark bitmap describes a plurality of marked words for the plurality of old regions and a plurality of unmarked words for the plurality of old regions; creating a connectivity matrix by traversing the object graph using the root, wherein the connectivity matrix describes a plur
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗