United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7119584 UseParallelGC barrier task can be overwritten.
JDK-7119584 : UseParallelGC barrier task can be overwritten.

Details
Type:
Bug
Submit Date:
2011-12-08
Status:
Closed
Updated Date:
2012-10-10
Project Name:
JDK
Resolved Date:
2012-01-20
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
8
Fixed Versions:
hs23 (b08)

Related Reports
Backport:
Backport:

Sub Tasks

Description
The barrier task used by GCTaskManager::execute_and_wait() can still be running when
execute_and_wait() returns. If another GC occurs before the barrier task
finishes, WaitForBarrierGCTask can be overwritten for the new GC and can
cause unpredictable results.

                                    

Comments
EVALUATION

There is a window during which a WaitForBarrierGCTask can be executing but
the storage for the WaitForBarrierGCTask has been deallocated. Avoid using the
task once into that window.
                                     
2011-12-08
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/6d7d0790074d
                                     
2011-12-11
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-emb/hotspot/rev/6d7d0790074d
                                     
2011-12-20
EVALUATION

http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/6d7d0790074d
                                     
2012-03-22



Hardware and Software, Engineered to Work Together