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

GC.class_stats should not require -XX:+UnlockDiagnosticVMOptions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      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

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

                Dates

                Created:
                Updated:
                Resolved: