[jdk19] RFR: 8288703: GetThreadState returns 0 for virtual thread that has terminated [v2]

Serguei Spitsyn sspitsyn at openjdk.org
Sat Jul 2 03:13:26 UTC 2022


On Fri, 1 Jul 2022 18:53:36 GMT, Alan Bateman <alanb 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/libSelfSuspendDisablerTest.cpp line 68:
> 
>> 66: }
>> 67: 
>> 68: }
> 
> it might be helpful to add 
> 
> // extern "C" 
> 
> after the brace as it confused me initially as to why there are two braces.

Good catch. Fixed.

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

PR: https://git.openjdk.org/jdk19/pull/102


More information about the serviceability-dev mailing list