JDK-8251494 : JMX: Add a version of ThreadMXBean.dumpAllThreads with a maxDepth argument
  • Type: Backport
  • Backport of: JDK-8185003
  • Component: core-svc
  • Sub-Component: java.lang.management
  • Affected Version: 10
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-08-12
  • Updated: 2020-11-16
  • Resolved: 2020-09-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10 Other
10Fixed openjdk8u282Fixed
Comments
URL: https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/0036148c47ec User: andrew Date: 2020-11-16 13:38:04 +0000
16-11-2020

URL: https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/8065f7b6bea3 User: andrew Date: 2020-11-16 13:37:53 +0000
16-11-2020

URL: https://hg.openjdk.java.net/jdk8u/jdk8u-dev/hotspot/rev/8065f7b6bea3 User: phh Date: 2020-09-23 17:40:45 +0000
23-09-2020

URL: https://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/0036148c47ec User: phh Date: 2020-09-23 17:40:23 +0000
23-09-2020

The original issue added a version of dumpAllThreads() to java.lang.management.ThreadMXBean, which is part of the Java 8 specification. Because that specification cannot be changed without a JSR, this backport adds the new dumpAllThreads() method to com.sun.management.ThreadMXBean. The latter is platform-specific and not part of the Java 8 specification.
12-08-2020