On Sat, 2 Jul 2022 03:35:11 GMT, Serguei Spitsyn <sspit...@openjdk.org> wrote:

>> This is fixing the JVM TI GetThreadState issue which returns for terminated 
>> virtual thread state = 0 instead of 2 (`JVMTI_THREAD_STATE_TERMINATED`). The 
>> problem was in the function `JvmtiEnvBase::get_threadOop_and_JavaThread` 
>> which does a check and reurns JVMTI_ERROR_THREAD_NOT_ALIVE a little bit 
>> early (before the values of `java_thread` and `thread_oop` are set). This 
>> was a root cause of the `GetThreadState` incorrect behavior.
>
> Serguei Spitsyn has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   resolved minor comments for the SelfSuspendDisablerTest test

Alan, Alex and Chris, thank you for reviews and comments!

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

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

Reply via email to