[jdk19] RFR: 8288703: GetThreadState returns 0 for virtual thread that has terminated [v2]
    Serguei Spitsyn 
    sspitsyn at openjdk.org
       
    Sat Jul  2 03:28:43 UTC 2022
    
    
  
On Fri, 1 Jul 2022 19:59:25 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
>> Serguei Spitsyn has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fix serviceability/jvmti/thread/thrstat03 to except correct GetThreadState result for terminated vthreads
>
> test/hotspot/jtreg/serviceability/jvmti/vthread/SelfSuspendDisablerTest/SelfSuspendDisablerTest.java line 102:
> 
>> 100:         }
>> 101: 
>> 102:         testJvmtiThreadState(t2, SUSPENDED);
> 
> Not a useful check after the isSuspended(t2) call above, but no harm in it either.
You are right in both cases. :)
-------------
PR: https://git.openjdk.org/jdk19/pull/102
    
    
More information about the serviceability-dev
mailing list