Invention Grant
US08028008B2 System and method for optimizing write barrier in garbage collection
失效
垃圾收集中优化写入障碍的系统和方法
- Patent Title: System and method for optimizing write barrier in garbage collection
- Patent Title (中): 垃圾收集中优化写入障碍的系统和方法
-
Application No.: US12237939Application Date: 2008-09-25
-
Publication No.: US08028008B2Publication Date: 2011-09-27
- Inventor: Matthew Roy Kilner , Andrew Dean Wharmby
- Applicant: Matthew Roy Kilner , Andrew Dean Wharmby
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Schmeiser, Olsen & Watts
- Agent Jeanine Ray-Yarletts
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F17/30

Abstract:
A system and associated method for optimizing a write barrier in garbage collection. The method marks a bit in a bitmap corresponding to a slot when the slot content is modified to refer to a new object. The method also logs the address of the slot when the object referred by the slot is updated. The method pops the address of the slot to clean from the log and clears the bit corresponding to the slot in the bitmap and when the object referred to by the slot is not already marked, marking said object and pushing its address to the mark stack. When the slot is located within an active object range, the method puts the address of the slot in a deferred log for a later processing.
Public/Granted literature
- US20100082710A1 SYSTEM AND METHOD FOR OPTIMIZING WRITE BARRIER IN GARBAGE COLLECTION Public/Granted day:2010-04-01
Information query