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

GC.class_stats should not require -XX:+UnlockDiagnosticVMOptions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • 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.

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

              Created:
              Updated:
              Resolved: