On Wed, 1 Oct 2025 22:29:28 GMT, Alex Menkov <[email protected]> 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

I agree this seems reasonable. Though I still wonder why this suddenly started 
appearing only on linux-aarch64.

Thanks for the quick fix.

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

Marked as reviewed by dholmes (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27598#pullrequestreview-3291723877

Reply via email to