RFR: 8370636: com/sun/jdi/TwoThreadsTest.java should wait for completion of all threads [v2]
Leonid Mesnik
lmesnik at openjdk.org
Tue Oct 28 19:48:59 UTC 2025
> 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.
Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
fixed spelling
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27982/files
- new: https://git.openjdk.org/jdk/pull/27982/files/96b9e772..7e04205e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27982&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27982&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/27982.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27982/head:pull/27982
PR: https://git.openjdk.org/jdk/pull/27982
More information about the serviceability-dev
mailing list