JDK-6770608 : G1: Mutator thread can flush barrier and satb queues during safepoint
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: hs14
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-11-12
  • Updated: 2010-04-03
  • Resolved: 2008-11-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u14Fixed 7Fixed hs14Fixed
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
15-11-2008

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