United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6770608 G1: Mutator thread can flush barrier and satb queues during safepoint
JDK-6770608 : G1: Mutator thread can flush barrier and satb queues during safepoint

Details
Type:
Bug
Submit Date:
2008-11-12
Status:
Resolved
Updated Date:
2010-04-03
Project Name:
JDK
Resolved Date:
2008-11-25
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs14
Fixed Versions:
hs14 (b08)

Related Reports
Backport:
Backport:

Sub Tasks

Description
When exiting a mutator thread is removed from the thread list before it has a chance to flush their SATB and barrier queues. If GC happens at this moment the objects that are refererred to from these queues can be moved.

                                    

Comments
SUGGESTED FIX

The fix is to flush the buffers before removing a thread from the list.
                                     
2008-11-12
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/da9cb4e97a5f
                                     
2008-11-15



Hardware and Software, Engineered to Work Together