Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8235334

Deprecate jcmd GC.class_stats

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      svc
    • Resolved In Build:
      b27

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              coleenp Coleen Phillimore
              Reporter:
              coleenp Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: