We've received feedback from users of cloud APM platform wanting the new version of the JDK to allow the HotSpotDiagnosticMXBean.dumpHeap underpinnings to reduce STW time using sgemented heapdump. Supporting segmented heapdump for mxbean is a reasonable requirement and adds little additional complexity, both in terms of maintainability and understanding.
------------- Commit messages: - 8327864: Support segmented heap dump for HotSpotDiagnosticMXBean Changes: https://git.openjdk.org/jdk/pull/18221/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18221&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8327864 Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/18221.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/18221/head:pull/18221 PR: https://git.openjdk.org/jdk/pull/18221