RFR: 8337318: Deoptimization::relock_objects fails assert(monitor->owner() == Thread::current()) failed: must be [v2]
Coleen Phillimore
coleenp at openjdk.org
Mon Aug 12 18:15:45 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.
Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
Add Richard test case.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/20553/files
- new: https://git.openjdk.org/jdk/pull/20553/files/6b310dbd..8a73754e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=20553&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=20553&range=00-01
Stats: 81 lines in 1 file changed: 81 ins; 0 del; 0 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