United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 7099824 G1: we should take the pending list lock before doing the remark pause
7099824 : G1: we should take the pending list lock before doing the remark pause

Details
Type:
Bug
Submit Date:
2011-10-11
Status:
Closed
Updated Date:
2012-01-23
Project Name:
JDK
Resolved Date:
2012-01-23
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs23
Fixed Versions:
hs23

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
Since we started processing refs during concurrent marking, with the final ref processing taking place during the remark pause, we should make sure that we hold the pending list lock before doing the remark pause. Otherwise, we could mess up a thread that's accessing the pending list and went into a safepoint while holding said lock.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-emb/hotspot/rev/db89aa49298f
                                     
2011-11-10
EVALUATION

See main CR
                                     
2011-11-04
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/db89aa49298f
                                     
2011-10-24
SUGGESTED FIX

Add the appropriate SurrogateLockerThread::manipulatePLL calls to the VM_CGC_Operation.
                                     
2011-10-13
EVALUATION

See "Description"
                                     
2011-10-13



Hardware and Software, Engineered to Work Together