[jdk21u-dev] RFR: 8327743: JVM crash in hotspot/share/runtime/javaThread.cpp - failed: held monitor count should be equal to jni: 0 != 1

Aleksey Shipilev shade at openjdk.org
Mon Jul 15 15:18:02 UTC 2024


Uncleanliness comes from JDK 21 not having [JDK-8313882](https://bugs.openjdk.org/browse/JDK-8313882), so I had to rewrite the incoming hunks back to `INT64_FORMAT` and `int64_t` casts. This can be made clean by [JDK-8313882](https://bugs.openjdk.org/browse/JDK-8313882) backport, but it has follow-up bugs that break Graal. It seems a better choice to just do a little deviation here.

Additional testing:
 - [x] MacOS AArch64 server fastdebug, new regression tests fail without the fix, pass with it
 - [x] Linux AArch64 server fastdebug, `all`
 - [x] Linux x86_64 server fastdebug, `all`

-------------

Commit messages:
 - Backport 274c805c5137d9080a7670d864ecca8a0befc3f6

Changes: https://git.openjdk.org/jdk21u-dev/pull/523/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=523&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8327743
  Stats: 505 lines in 10 files changed: 460 ins; 13 del; 32 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/523.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/523/head:pull/523

PR: https://git.openjdk.org/jdk21u-dev/pull/523


More information about the jdk-updates-dev mailing list