- Patent Title: Method, program, and system for reducing the cost of stack scanning
-
Application No.: US14567526Application Date: 2014-12-11
-
Publication No.: US11314640B2Publication Date: 2022-04-26
- Inventor: Kiyokuni Kawachiya , Tamiya Onodera
- 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
- Agency: Tutunjian & Bitetto, PC
- Agent Joseph Petrokaitis
- Priority: JPJP2013-257970 20131213
- Main IPC: G06F16/00
- IPC: G06F16/00 ; G06F12/02

Abstract:
A method for reducing the cost of stack scanning in garbage collection (GC) includes, in the GC of the first-generation heap area, registering, in a nursery object reference list prepared for each thread, one or more addresses, within each stack, which each refer to a nursery object, and updating a scanning unnecessary area starting pointer such that the addresses listed in the nursery object reference list are included in the area from the bottom of the stack to the address pointed to by the scanning unnecessary area starting pointer. The method further includes, in the next GC of the first-generation heap area, for the area from the bottom of the stack to the address pointed to by the scanning unnecessary area starting pointer, performing the GC processing on the addresses included in the nursery object reference list.
Public/Granted literature
- US20150169444A1 METHOD, PROGRAM, AND SYSTEM FOR REDUCING THE COST OF STACK SCANNING Public/Granted day:2015-06-18
Information query