United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7059019 G1: add G1 support to the SA
JDK-7059019 : G1: add G1 support to the SA

Details
Type:
Enhancement
Submit Date:
2011-06-24
Status:
Closed
Updated Date:
2013-10-04
Project Name:
JDK
Resolved Date:
2012-01-23
Component:
hotspot
OS:
generic
Sub-Component:
svc
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
hs17,hs20,hs22,6u25-rev,7
Fixed Versions:
hs23 (b02)

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

Sub Tasks

Description
We need to extend the SA to support G1. Several of our serviceability tools (jmap, jinfo, jstack) depend on the SA and, without these changes, these tools will not work with G1.

The changes that need to be implemented in the SA comprise:

- Introduce the G1CollectedHeap to the CollectedHeap class hierarchy.
- Implement object iteration over the G1 heap. This is relatively straightforward. We'll have to iterate over the HeapRegions in the G1CollectedHeap and, given that HeapRegion extends ContiguousSpace, we'll get the iteration "for free".
- Extend HeapSummary to recognize the G1CollectedHeap and report usage statistics.

                                    

Comments
EVALUATION

See Description.
                                     
2011-06-24
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/4f93f0d00802
                                     
2011-09-20
EVALUATION

http://hg.openjdk.java.net/hsx/hsx22/hotspot/rev/8d4cd133d6a8
                                     
2011-10-12
EVALUATION

See main CR
                                     
2011-10-22



Hardware and Software, Engineered to Work Together