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

Aleksey Shipilev shade at openjdk.org
Tue Sep 24 15:51:34 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`

Aleksey Shipilev has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:

 - Merge branch 'master' into JDK-8327743-loom-jni-monitor-count
 - Backport 274c805c5137d9080a7670d864ecca8a0befc3f6

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

Changes:
  - all: https://git.openjdk.org/jdk21u-dev/pull/523/files
  - new: https://git.openjdk.org/jdk21u-dev/pull/523/files/29e62b8b..c736dedf

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=523&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=523&range=01-02

  Stats: 5212 lines in 134 files changed: 3770 ins; 773 del; 669 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