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

David Holmes dholmes at openjdk.org
Mon Apr 8 23:01:11 UTC 2024


On Mon, 8 Apr 2024 21:54:44 GMT, Dean Long <dlong at openjdk.org> wrote:

> Isn't continuation_enter_cleanup() also used by yield()?

@dean-long In general yes but in this case the virtual thread is pinned so the cleanup is skipped. These monitor counts only exist to force pinning.

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

PR Comment: https://git.openjdk.org/jdk/pull/18445#issuecomment-2043770884


More information about the hotspot-dev mailing list