Re: RFR: 8309329: com/sun/jdi/DeferredStepTest.java fails with virtual threads due to not waiting for threads to exit [v2]

2023-06-02 Thread Chris Plummer
On Fri, 2 Jun 2023 04:29:16 GMT, Chris Plummer wrote: >> Virtual threads are always daemon threads, so tests that previously did not >> explicitly wait for test threads to exit sometimes fail with virtual threads >> due to the test exiting before the test threads have exited. A join() for >>

Re: RFR: 8309329: com/sun/jdi/DeferredStepTest.java fails with virtual threads due to not waiting for threads to exit [v2]

2023-06-02 Thread Alex Menkov
On Fri, 2 Jun 2023 04:29:16 GMT, Chris Plummer wrote: >> Virtual threads are always daemon threads, so tests that previously did not >> explicitly wait for test threads to exit sometimes fail with virtual threads >> due to the test exiting before the test threads have exited. A join() for >>

Re: RFR: 8309329: com/sun/jdi/DeferredStepTest.java fails with virtual threads due to not waiting for threads to exit [v2]

2023-06-02 Thread Leonid Mesnik
On Fri, 2 Jun 2023 04:29:16 GMT, Chris Plummer wrote: >> Virtual threads are always daemon threads, so tests that previously did not >> explicitly wait for test threads to exit sometimes fail with virtual threads >> due to the test exiting before the test threads have exited. A join() for >>

Re: RFR: 8309329: com/sun/jdi/DeferredStepTest.java fails with virtual threads due to not waiting for threads to exit [v2]

2023-06-01 Thread Chris Plummer
> Virtual threads are always daemon threads, so tests that previously did not > explicitly wait for test threads to exit sometimes fail with virtual threads > due to the test exiting before the test threads have exited. A join() for > each test thread is needed to fix this issue. > >

Re: RFR: 8309329: com/sun/jdi/DeferredStepTest.java fails with virtual threads due to not waiting for threads to exit

2023-06-01 Thread Serguei Spitsyn
On Thu, 1 Jun 2023 23:03:47 GMT, Chris Plummer wrote: > Virtual threads are always daemon threads, so tests that previously did not > explicitly wait for test threads to exit sometimes fail with virtual threads > due to the test exiting before the test threads have exited. A join() for > each

Re: RFR: 8309329: com/sun/jdi/DeferredStepTest.java fails with virtual threads due to not waiting for threads to exit

2023-06-01 Thread Alex Menkov
On Thu, 1 Jun 2023 23:03:47 GMT, Chris Plummer wrote: > Virtual threads are always daemon threads, so tests that previously did not > explicitly wait for test threads to exit sometimes fail with virtual threads > due to the test exiting before the test threads have exited. A join() for > each

RFR: 8309329: com/sun/jdi/DeferredStepTest.java fails with virtual threads due to not waiting for threads to exit

2023-06-01 Thread Chris Plummer
Virtual threads are always daemon threads, so tests that previously did not explicitly wait for test threads to exit sometimes fail with virtual threads due to the test exiting before the test threads have exited. A join() for each test thread is needed to fix this issue.