RFR: 8286844: com/sun/jdi/RedefineCrossEvent.java failed with 1 threads completed while VM suspended
Serguei Spitsyn
sspitsyn at openjdk.org
Tue Jul 19 02:31:40 UTC 2022
On Mon, 18 Jul 2022 23:13:14 GMT, Alex Menkov <amenkov at openjdk.org> wrote:
> The test verifies that JDI threads are daemon threads.
> But enumerating threads at breakpoint it performs sanity check that all threads returned by ThreadGroup.enumerate hasn't terminated.
> But this is wrong assumption, as the test enumerates _debugger_ threads and not _debuggee_ threads.
>
> The fix drops this sanity check.
Looks good to me.
Thanks,
Serguei
-------------
Marked as reviewed by sspitsyn (Reviewer).
PR: https://git.openjdk.org/jdk/pull/9547
More information about the serviceability-dev
mailing list