Integrated: 8284027: vmTestbase/nsk/jvmti/GetAllThreads/allthr001/ is failing
    Alex Menkov 
    amenkov at openjdk.java.net
       
    Thu May  5 19:45:42 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.
This pull request has now been integrated.
Changeset: 1bba6407
Author:    Alex Menkov <amenkov at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/1bba64070e03ae3e047dc70dca75caeb49813908
Stats:     114 lines in 3 files changed: 48 ins; 42 del; 24 mod
8284027: vmTestbase/nsk/jvmti/GetAllThreads/allthr001/ is failing
Reviewed-by: sspitsyn, cjplummer
-------------
PR: https://git.openjdk.java.net/jdk/pull/8512
    
    
More information about the serviceability-dev
mailing list