Integrated: 8313654: Test WaitNotifySuspendedVThreadTest.java timed out
Leonid Mesnik
lmesnik at openjdk.org
Thu Aug 10 15:40:30 UTC 2023
On Tue, 8 Aug 2023 18:50:25 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
> Test might times out if it suspend thread before it starts breakpoint event handler.
> The fix is to replace sleep with better synchronization and suspend virtual thread only when it runs native code.
>
> Also, the completed monitor is acquired earlier to avoid racing when completing test.
This pull request has now been integrated.
Changeset: 9b532511
Author: Leonid Mesnik <lmesnik at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/9b53251131c67b1abb69b59eb66a1a133acc41d9
Stats: 35 lines in 2 files changed: 14 ins; 19 del; 2 mod
8313654: Test WaitNotifySuspendedVThreadTest.java timed out
Reviewed-by: sspitsyn
-------------
PR: https://git.openjdk.org/jdk/pull/15196
More information about the serviceability-dev
mailing list