Integrated: 8304811: vmTestbase/vm/mlvm/indy/func/jvmti/stepBreakPopReturn/INDIFY_Test.java fails with JVMTI_ERROR_TYPE_MISMATCH

Alex Menkov amenkov at openjdk.org
Thu Oct 2 23:42:55 UTC 2025


On Wed, 1 Oct 2025 22:29:28 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

> The change fixes the test which intermittently fails.
> 
> The test requests MethodEntry. SingleStep and Breakpoint events globally (from all threads).
> MethodEntry handler checks location (to be expected test method);
> Breakpoint request specifies location in the testes method, only test threads calls the method;
> SingleStep handler has no checks for thread or location. So once SingleStep event is enabled, event from other thread can be posted first (or several events from different threads).
> The fix enables SingleStep event only for test thread (we get it in MethodEntry)
> 
> testing: tier3

This pull request has now been integrated.

Changeset: 854b384b
Author:    Alex Menkov <amenkov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/854b384b120fa2af41adca3048070866fe3cafd4
Stats:     3 lines in 1 file changed: 0 ins; 0 del; 3 mod

8304811: vmTestbase/vm/mlvm/indy/func/jvmti/stepBreakPopReturn/INDIFY_Test.java fails with JVMTI_ERROR_TYPE_MISMATCH

Reviewed-by: lmesnik, dholmes, sspitsyn

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

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


More information about the serviceability-dev mailing list