RFR: 8370636: com/sun/jdi/TwoThreadsTest.java should wait for completion of all threads

SendaoYan syan at openjdk.org
Mon Oct 27 07:20:00 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.

Marked as reviewed by syan (Committer).

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

PR Review: https://git.openjdk.org/jdk/pull/27982#pullrequestreview-3382091817


More information about the serviceability-dev mailing list