[11u] RFR 8246381: VM crashes with "Current BasicObjectLock* below than low_mark"
Zhengyu Gu
zgu at redhat.com
Mon Sep 28 18:59:18 UTC 2020
I would like to backport this patch to 11u for parity with Oracle
11.0.10-oracle.
The original patch does not apply cleanly, due to an extra leading space
of the following lines in the original patch.
JRT_ENTRY(void, InterpreterRuntime::profile_method(JavaThread* thread))
+ if (HAS_PENDING_EXCEPTION) {
+ return;
+ }
// use UnlockFlagSaver to clear and restore the
_do_not_unlock_if_synchronized
// flag, in case this method triggers classloading which will call
into Java.
UnlockFlagSaver fs(thread);
The original bug: https://bugs.openjdk.java.net/browse/JDK-8246381
The original patch: https://hg.openjdk.java.net/jdk/jdk15/rev/f8cffefd6e9b
11u webrev: http://cr.openjdk.java.net/~zgu/JDK-8246381-11u/webrev.00/
Thanks,
-Zhengyu
More information about the jdk-updates-dev
mailing list