RFR: 8284027: [LOOM] vmTestbase/nsk/jvmti/GetAllThreads/allthr001/ is failing

Serguei Spitsyn sspitsyn at openjdk.java.net
Tue May 3 01:39:18 UTC 2022


On Mon, 2 May 2022 23:20:52 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

> The test counts all "system" threads before the execution and expects that this number remains the same during test execution.
> This makes the test fragile - JVM may start internal threads, some threads may end.
> 
> The fix updates the test:
> - the test checks only test threads, and verify that the live threads are reported by GetAllThreads and terminated threads are not reported;
> - dropped "system" thread counting stuff;
> - added proper deallocation of GetThreadInfo results.

Alex,
It looks good to me.
Thank you for taking care about this!
Serguei

Should we remove prefix "[LOOM] " from the bug title?

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

Marked as reviewed by sspitsyn (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/8512


More information about the serviceability-dev mailing list