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

Coleen Phillimore coleenp at openjdk.org
Tue Aug 13 11:51:53 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.

This pull request has now been integrated.

Changeset: ff8a9f92
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ff8a9f9267c480fe0be8470cda870fd77763fb31
Stats:     84 lines in 2 files changed: 81 ins; 0 del; 3 mod

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

Co-authored-by: Richard Reingruber <rrich at openjdk.org>
Reviewed-by: rrich, dholmes, shade, pchilanomate

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

PR: https://git.openjdk.org/jdk/pull/20553


More information about the hotspot-runtime-dev mailing list