Integrated: 8317262: LockStack::contains(oop) fails "assert(t->is_Java_thread()) failed: incorrect cast to JavaThread"
David Holmes
dholmes at openjdk.org
Sun Oct 15 23:37:07 UTC 2023
On Thu, 5 Oct 2023 01:47:03 GMT, David Holmes <dholmes at openjdk.org> wrote:
> Please review this simple fix to `LockStack::is_owning_thread()` that allows it to be called by a non-JavaThread. Thanks to @pchilano for the regression test.
>
> Testing:
> - new regression test
> - runtime/handshake/MixedHandshakeWalkStackTest.java
> - tiers 1-3 sanity
>
> Thanks
This pull request has now been integrated.
Changeset: 4ea1b99c
Author: David Holmes <dholmes at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/4ea1b99c1a6efe144af381ea538f93718e9baf74
Stats: 101 lines in 2 files changed: 97 ins; 0 del; 4 mod
8317262: LockStack::contains(oop) fails "assert(t->is_Java_thread()) failed: incorrect cast to JavaThread"
Co-authored-by: Patricio Chilano Mateo <pchilanomate at openjdk.org>
Reviewed-by: stuefe, pchilanomate, rkennke, mli
-------------
PR: https://git.openjdk.org/jdk/pull/16047
More information about the hotspot-runtime-dev
mailing list