Invention Grant
- Patent Title: Implementing state-based frame barriers to process colorless roots during concurrent execution
-
Application No.: US17212190Application Date: 2021-03-25
-
Publication No.: US11573794B2Publication 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: G06F9/30
- IPC: G06F9/30 ; G06F12/02 ; G06F9/38

Abstract:
An application thread executes concurrently with a garbage collection (GC) thread traversing a call stack of the application thread. Frames of the call stack that have been processed by the GC thread assume a global state associated with the GC thread. The application thread may attempt to return to a target frame that has not yet assumed the global state. The application thread hits a frame barrier, preventing return to the target frame. The application thread determines a frame state of the target frame. The application thread selects appropriate operations for bringing the target frame to the global state based on the frame state. The selected operations are performed to bring the target frame to the global state. The application thread returns to the target frame.
Public/Granted literature
- US20220308871A1 IMPLEMENTING STATE-BASED FRAME BARRIERS TO PROCESS COLORLESS ROOTS DURING CONCURRENT EXECUTION Public/Granted day:2022-09-29
Information query