JDK-7059019 : G1: add G1 support to the SA
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: hs17,hs20,hs22,6u25-rev,7
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-06-24
  • Updated: 2013-10-04
  • 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
7u2Fixed 8Fixed hs22Fixed
Related Reports
Duplicate :  
Relates :  
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 main CR
22-10-2011

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

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

EVALUATION See Description.
24-06-2011