JDK-7092309 : G1: introduce old region set
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: hs23
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-09-19
  • Updated: 2013-09-18
  • Resolved: 2012-01-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 7 JDK 8 Other
7u4Fixed 8Fixed hs23Fixed
Related Reports
Relates :  
Relates :  
Relates :  
This CR proposes the introduction of a heap region set (using the HeapRegionSet abstraction) for the old regions in the G1 heap. It is a part of the following umbrella CR:

6949241: G1: restructure region lists in G1

But it is relatively straightforward and reasonably self-contained so it's good to implement this separately. This change, and in particular the fact that we'll have a reliable way to keep track of the number / occupancy / capacity of the old regions in the heap, can make the implementation of other CRs easier. Examples are:

* The marking cycle initiation CR (6976060), as this will allow us to easily find out the old + humongous region occupancy to decide whether to initiate a marking cycle without having to do that only at the end of a GC.
* The M&M CRs (e.g., 7075646), as this will allow us to easily calculate the occupancy / capacity of the "old gen" in G1.

EVALUATION http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/8aae2050e83e


EVALUATION http://hg.openjdk.java.net/hsx/hotspot-emb/hotspot/rev/8aae2050e83e

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/8aae2050e83e

EVALUATION See Description.