Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8356870 HotSpotDiagnosticMXBean.dumpThreads and jcmd Thread.dump_to_file updates
  3. JDK-8358585

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.

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

              Created:
              Updated:
              Resolved: