RFR: 8337318: Deoptimization::relock_objects fails assert(monitor->owner() == Thread::current()) failed: must be

Patricio Chilano Mateo pchilanomate at openjdk.org
Mon Aug 12 16:46:31 UTC 2024


On Mon, 12 Aug 2024 16:12:20 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> 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.

Looks good to me.

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

Marked as reviewed by pchilanomate (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20553#pullrequestreview-2233560719


More information about the hotspot-runtime-dev mailing list