RFR: 8337318: Deoptimization::relock_objects fails assert(monitor->owner() == Thread::current()) failed: must be
Coleen Phillimore
coleenp at openjdk.org
Mon Aug 12 16:18:02 UTC 2024
The assert is wrong. During deoptimization, the locking_thread is not the current thread, and that's the thread we should assert is the owner.
Reproduced in tier8 with com/sun/jdi/EATests.java, with LockStack CAPACITY=1 and not reproduced with the fix.
-------------
Commit messages:
- 8337318: Deoptimization::relock_objects fails assert(monitor->owner() == Thread::current()) failed: must be
Changes: https://git.openjdk.org/jdk/pull/20553/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20553&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8337318
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/20553.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20553/head:pull/20553
PR: https://git.openjdk.org/jdk/pull/20553
More information about the hotspot-runtime-dev
mailing list