System and method for dynamically selecting a garbage collection algorithm based on the contents of heap regions
Abstract
A system and method for dynamically selecting a garbage collection algorithm based on the contents of heap regions. In accordance with an embodiment, a software application can be instrumented so that the system can place software objects allocated by the application, or by different parts of the application, into different regions of the heap. When garbage collection is invoked, the system can scan the heap, examine object statistics to determine if particular objects are, e.g., short-lived, long-lived, or some other type of object, and then use this information to determine which garbage collection algorithm to use with particular heap regions. In accordance with an embodiment, the system can identify regions as containing particular object types, for example, movable or non-movable object types, or object liveness, and use different garbage collection algorithms accordingly. Different garbage collection algorithms can be used with different regions, based on their content at a particular time.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 49 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A system for garbage collection based on software objects stored in heap regions, the system comprising: a computing device which includes a processor, a virtual machine, and a heap for storage of compiled bytecode as software objects, and that enables one or more software applications to be executed thereon; wherein the virtual machine comprises a plurality of garbage collectors implementing different garbage collection methods and selected from a serial garbage collector, a parallel garbage collector, a parallel compacting garbage collector, a concurrent mark-sweep garbage collector, a copyi
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (49)
Non-Patent Literature (5)
- Henry Baker; "List Processing in Real Time on a Serial COmputer", Comm. ACM 21, 4 (Apr. 1978), 280-293.
- International Preliminary Report on Patentability mailed Mar. 2, 2016 for international patent application No. PCT/US2014/051925 (7 pages).
- International Searching Authority At the European Patent Office, International Search Report and Written Opinion for PCT International Patent Application No. PCT/US2014/051925, Nov. 13, 2014, 10 pages.
- Jones, Richard; Lins, Raphaels, "Garbage Collection, Algorithms for Automatic Dynamic Memory Management" John Wiley & Sons, 1996.
- Sun Microsystems, Memory Management in the JAVA HotSpot Virtual Machine, Apr. 2006, 21 pages.