United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6770608 G1: Mutator thread can flush barrier and satb queues during safepoint
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

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
EVALUATION

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

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



Hardware and Software, Engineered to Work Together