Integrated: 8370636: com/sun/jdi/TwoThreadsTest.java should wait for completion of all threads
Leonid Mesnik
lmesnik at openjdk.org
Tue Oct 28 21:02:52 UTC 2025
On Fri, 24 Oct 2025 20:20:14 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
> Test
> com/sun/jdi/TwoThreadsTest.java
> start new threads using DebuggeeWrapper.newThread()
> and exit immediately.
>
> It is needed to jon() threads so test really works for virtual threads.
>
> I looked on other threads that use DebuggeeWrapper.newThread(). Seems most of them already updated to join spawned threads.
>
> Tested by running test on all platfrom with and wihtout virtual threads.
This pull request has now been integrated.
Changeset: d1860370
Author: Leonid Mesnik <lmesnik at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/d1860370635e1c96a9b6c497861e5573c23dd281
Stats: 8 lines in 1 file changed: 7 ins; 0 del; 1 mod
8370636: com/sun/jdi/TwoThreadsTest.java should wait for completion of all threads
Reviewed-by: cjplummer, syan, sspitsyn
-------------
PR: https://git.openjdk.org/jdk/pull/27982
More information about the serviceability-dev
mailing list