Integrated: 8306679: com/sun/jdi/InterruptHangTest.java asserts with -Xcomp -Dmain.wrapper=Virtual options
Serguei Spitsyn
sspitsyn at openjdk.org
Sat Sep 14 22:55:09 UTC 2024
On Wed, 11 Sep 2024 02:57:33 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:
> The test is failing with virtual threads because the `cur_stack_depth()` of a virtual thread executed in `interp_only` mode is invalidated conditionally in the `ThawBase::thaw_slow()`:
> ```JVMTI_ONLY(if (!return_barrier) invalidate_jvmti_stack(_thread));```
>
> It has to be invalidated unconditionally instead:
> ```JVMTI_ONLY(invalidate_jvmti_stack(_thread));```
>
> Testing:
> - ran the test `com/sun/jdi/InterruptHangTest.java` locally and with mach5
> - the mach5 tiers 1-6 all passed
This pull request has now been integrated.
Changeset: a8f143c6
Author: Serguei Spitsyn <sspitsyn at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/a8f143c6abe7669c232cabda3a4e8df726de036e
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
8306679: com/sun/jdi/InterruptHangTest.java asserts with -Xcomp -Dmain.wrapper=Virtual options
Reviewed-by: lmesnik, cjplummer
-------------
PR: https://git.openjdk.org/jdk/pull/20943
More information about the hotspot-runtime-dev
mailing list