On Fri, 22 Mar 2024 20:39:47 GMT, Serguei Spitsyn <sspit...@openjdk.org> wrote:
> One more question. Why these tests are failed with the UT enabled? Or maybe > this was wrong assumption? UT can add additional events (ClassPrepareEvent, ThreadDeathEvent). As the event are requested with SUSPEND_ALL policy, debuggee VM needs to be resumed. But the tests didn't expect "extra" events from other thread, event handler thread can exit before all events are handled, and tests fail with timeout waiting while debuggee exits. ------------- PR Comment: https://git.openjdk.org/jdk/pull/18442#issuecomment-2015967581