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

GC.class_stats should not require -XX:+UnlockDiagnosticVMOptions

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 9
    • 9
    • hotspot
    • None
    • b146

    Description

      Running the diagnostic command GC.class_stats against a vanilla VM prints:
      --
      GC.class_stats command requires -XX:+UnlockDiagnosticVMOptions
      --
      This is really unhelpful when trying to diagnose a problem. There is really no reason for diagnostic commands to be hidden behind JVM flags.

      Attachments

        Issue Links

          Activity

            People

              sla Staffan Larsen (Inactive)
              sla Staffan Larsen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: