[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Re: RFR: JDK-8328303: 3 JDI tests timed out with UT enabled [v3]
From:       Alex Menkov <amenkov () openjdk ! org>
Date:       2024-03-22 23:33:25
Message-ID: z0wvO3mqM8o5cZRzzm25Eb9eUKlLvLisSTrlpXafQtg=.af32e938-5f2f-48fd-8a69-567b35d6ad4f () github ! com
[Download RAW message or body]

On Fri, 22 Mar 2024 21:29:03 GMT, Alex Menkov <amenkov@openjdk.org> wrote:

> > The change fixes 3 nsk JDI tests.
> > Root cause in all 3 tests is the same - the tests requests JDI event with \
> > SUSPEND_ALL policy, but event handler thread stops handle incoming event and this \
> > causes debuggee to hang (suspended by JDI event). 
> > All 3 tests are updated to exit event handler thread after getting VMDeathEvent \
> > or VMDisconnectEvent (and resume debuggee after any other events). \
> > ClassPrepareEvent tests need to wait some time to allow handle all expected \
> > events before terminate the debuggee. The logic was implemented by using \
> > CountDownLatch. 
> > All tests are passed with "--test-repeat 20"
> 
> Alex Menkov has updated the pull request incrementally with two additional commits \
> since the last revision: 
> - updated comments
> - eventsReceived -> allEventsReceived

Last update was cosmetic, so I'm going to integrate the fix to reduce noise in CI

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

PR Comment: https://git.openjdk.org/jdk/pull/18442#issuecomment-2016125851


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic