JDK-8014912 : Restore PrintSharedSpaces functionality after NPG
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-05-20
  • Updated: 2014-06-26
  • Resolved: 2013-05-29
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 8 Other
8Fixed hs25Fixed
Related Reports
Relates :  
Description
JDK7 used to dump size statistics information about the metadata objects in the CDS archive with the PrintSharedSpaces flag.

Here is an example:

http://j2se.sfbay.sun.com/web/bin/view/HotspotRuntime/CDSRO

During NPG, the functionality of PrintSharedSpaces has been disabled. We need to restore it so that we can do more detailed analysis of CDS archive contents.
Comments
noreg-other: this flag should be used by developers only for diagnostic purposes. Writing a regression test is not necessary.
21-08-2013

See attachment PrintSharedSpaces_sample.txt for sample output: java -Xshare:dump -XX:+PrintSharedSpaces
21-05-2013