-
Sub-task
-
Resolution: Delivered
-
P4
-
25
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.
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.