JDK-6994297 : G1: do first-level slow-path allocations with a CAS
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: hs20
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-10-22
  • Updated: 2013-09-18
  • Resolved: 2011-04-23
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
6u25Fixed 7Fixed hs20Fixed
Related Reports
Relates :  
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 http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/b158bed62ef5
13-01-2011

EVALUATION See Description.
22-10-2010