United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7092309 G1: introduce old region set
JDK-7092309 : G1: introduce old region set

Details
Type:
Enhancement
Submit Date:
2011-09-19
Status:
Closed
Updated Date:
2012-03-22
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 (b06)

Related Reports
Backport:
Backport:
Relates:
Relates:
Relates:

Sub Tasks

Description
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.
etc.

                                    

Comments
EVALUATION

See Description.
                                     
2011-09-19
EVALUATION

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

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

See main CR
                                     
2011-11-30
EVALUATION

http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/8aae2050e83e
                                     
2012-03-22



Hardware and Software, Engineered to Work Together