JDK-8235334 : Deprecate jcmd GC.class_stats
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 14
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-12-04
  • Updated: 2019-12-17
  • Resolved: 2019-12-10
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 14
14 b27Fixed
Related Reports
CSR :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
This jcmd option was added by the JVM team to analyze memory used by metaspace and is not useful to customers.  Since then we've created better utilities.  -Xlog:cds during -Xshare:dump is an example of a better utility that uses a newer better mechanism in the source code.

The output of this jcmd GC.class_stats is lengthy and not well suited to understanding memory used by metaspace objects, nor is it a GC specific facility.  It also has some open bugs.

We should deprecate this in 14 and remove in 15.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/de502a45751f User: coleenp Date: 2019-12-10 13:12:44 +0000
10-12-2019