United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6994297 G1: do first-level slow-path allocations with a CAS
JDK-6994297 : G1: do first-level slow-path allocations with a CAS

Details
Type:
Enhancement
Submit Date:
2010-10-22
Status:
Closed
Updated Date:
2011-04-23
Project Name:
JDK
Resolved Date:
2011-04-23
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs20
Fixed Versions:
hs20 (b07)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
Currently, when we go into the slow allocation path of G1 (i.e., ), we always take the Heap_lock before performing the allocation in the current allocating region. We might improve performance if we allocate out of the current allocating region with a CAS and only need the Heap_lock to replace the current allocating region when it gets full.

                                    

Comments
EVALUATION

See Description.
                                     
2010-10-22
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/b158bed62ef5
                                     
2011-01-13



Hardware and Software, Engineered to Work Together