Invention Grant
- Patent Title: Multi-threaded pause-less replicating garbage collection
-
Application No.: US16452971Application Date: 2019-06-26
-
Publication No.: US11620215B2Publication Date: 2023-04-04
- Inventor: Kelvin Don Nilsen
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Brian D. Welle
- Main IPC: G06F12/02
- IPC: G06F12/02 ; G06F3/06 ; G06F9/50

Abstract:
A method and a system for garbage collection on a system. The method includes initiating a garbage collection process on a system by a garbage collector. The garbage collector includes one or more garbage collector threads. The method also includes marking a plurality of referenced objects using the garbage collector threads and one or more application threads during a preemption point. The method includes replicating the referenced objects using the garbage collector threads and marking for replication any newly discovered referenced objects found by scanning the application thread stack from a low-water mark. The method also includes replicating the newly discovered referenced objects and overwriting any reference to the old memory location.
Information query