JDK-8252157 : JDK-8231209 11u backport breaks jmm binary compatibility
  • Type: Bug
  • Component: core-svc
  • Sub-Component: java.lang.management
  • Affected Version: 11.0.9
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-08-21
  • Updated: 2020-09-02
  • Resolved: 2020-08-28
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 11
11.0.10-oracleFixed
Description
The backport of JDK-8231209 added a new method, jmm_GetOneThreadAllocatedMemory, to the jmm_interface, which breaks previously compiled binaries that reference the updated interface. See hotspot/share/include/jmm.h.

The fix is to use one of the reserved jmm_interface slots, say reserved2, for jmm_GetOneThreadAllocatedMemory. Choose reserved2 in anticipation of jdk8u JDK-8185003 backport wanting reserved6 for a new DumpThreadsMaxDepth entry.
Comments
URL: https://hg.openjdk.java.net/jdk-updates/jdk11u/rev/680ba58bcbed User: goetz Date: 2020-09-02 05:37:08 +0000
02-09-2020

URL: https://hg.openjdk.java.net/jdk-updates/jdk11u-dev/rev/680ba58bcbed User: phh Date: 2020-08-28 00:10:16 +0000
28-08-2020

Fix Request (11u) Fixes a crash that cannot be worked around. Review approval email: https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2020-August/003647.html
25-08-2020