Release Note: Thread Dumps Generated by HotSpotDiagnosticMXBean.dumpThreads and jcmd Thread.dump_to_file Updated to Include Lock Information

XMLWordPrintable

      The thread dump generated by the `com.sun.management.HotSpotDiagnosticMXBean.dumpThreads` API, and the diagnostic command `jcmd <pid> Thread.dump_to_file`, now includes lock information.

      The `HotSpotDiagnosticMXBean.dumpThreads` API is also updated to link to a JSON schema that describes the JSON format thread dump. The JSON format thread dump is intended to be read and processed by diagnostic tools.

      Unlike the traditional thread dump generated by `jstack` and `jcmd <pid> Thread.print`, the thread dump generated by the `HotSpotDiagnosticMXBean.dumpThreads` and `jcmd <pid> Thread.dump_to_file` does not print information about deadlocks in this release.

            Assignee:
            Alan Bateman
            Reporter:
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: