RFR: JDK-8310584: GetThreadState reports blocked and runnable for pinned suspended virtual threads

Alex Menkov amenkov at openjdk.org
Fri Jul 14 18:44:10 UTC 2023


On Fri, 14 Jul 2023 06:11:55 GMT, David Holmes <dholmes at 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

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

PR Comment: https://git.openjdk.org/jdk/pull/14878#issuecomment-1636252686


More information about the serviceability-dev mailing list