Invention Grant
- Patent Title: Performing garbage collection on an object array using array chunk references
-
Application No.: US15267660Application Date: 2016-09-16
-
Publication No.: US10067867B2Publication Date: 2018-09-04
- Inventor: Stefan Mats Rikard Karlsson , Per A. Liden
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood City
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood City
- Agency: Invoke
- Main IPC: G06F12/02
- IPC: G06F12/02 ; G06F3/06 ; G06F8/41

Abstract:
Techniques for performing garbage collection on an object array using array chunk references is described. A garbage collector (GC) thread identifies an object array to be processed. The GC thread divides the object array into array chunks. The GC thread generates array chunk references corresponding respectively to the array chunks. Each array chunk reference comprises: (a) chunk start bits representing a memory address of a start of a corresponding array chunk, and (b) chunk length bits representing a chunk length of the corresponding array chunk. The GC thread pushes the array chunk references onto the processing stack. A single processing stack concurrently stores multiple array chunk references, associated with a same object array. One or more of the array chunk references, that are associated with the same object array and stored on the processing stack, may be distributed to other GC threads for processing.
Public/Granted literature
- US20180011787A1 PERFORMING GARBAGE COLLECTION ON AN OBJECT ARRAY USING ARRAY CHUNK REFERENCES Public/Granted day:2018-01-11
Information query