Invention Grant
- Patent Title: Tracking garbage collection states of references
-
Application No.: US17084053Application Date: 2020-10-29
-
Publication No.: US11573894B2Publication Date: 2023-02-07
- Inventor: Erik Österlund , Per Liden , Stefan Mats Rikard Karlsson
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Invoke
- Main IPC: G06F12/02
- IPC: G06F12/02

Abstract:
Garbage collection (GC) states are stored within references stored on a heap memory to track a progress of GC operations with respect to the references. GC state may be stored in a non-addressable portion of references. Based on the GC state of a particular reference, a set of GC operations are selected and performed for the reference. However, references stored on a call stack do not include any indication of GC state. Hence, loading a reference from heap to call stack involves removing the indication of GC state. Writing a reference to heap involves adding the indication of GC state. References embedded within a compiled method also do not indicate any GC state. Metadata of the compiled method indicate a GC state, which is implicated to the embedded references. GC operations are selected and performed for each embedded reference based on the GC state of the compiled method.
Public/Granted literature
- US20220138098A1 TRACKING GARBAGE COLLECTION STATES OF REFERENCES Public/Granted day:2022-05-05
Information query