GC.class_stats should not require -XX:+UnlockDiagnosticVMOptions

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • None
    • b146

      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.

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

              Created:
              Updated:
              Resolved: