On Fri, 14 Jul 2023 18:41:01 GMT, Alex Menkov <amen...@openjdk.org> wrote:
> > The change seems consistent with the definition of `GetThreadState`. But I > > note that the interrupt bit should also only be set if the target is alive. > > we get interrupt bit from Thread object, so the value is consistent with > terminated state. suspend bit is a bit different - see my reply to Serguei Sorry I don't follow. I don't see anything that prevents the target from terminating after you have read the interrupt bit from the thread object, but before you read the actual state. ------------- PR Comment: https://git.openjdk.org/jdk/pull/14878#issuecomment-1637365223