GetThreadState reports blocked and runnable for pinned suspended virtual threads

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 22
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • b07

      If virtual thread is blocked (BLOCKED_ON_MONITOR_ENTER, WAITING_INDEFINITELY, WAITING_WITH_TIMEOUT) and the virtual is pinned and suspended, GetThreadState reports RUNNABLE bit:
      - ALIVE RUNNABLE BLOCKED_ON_MONITOR_ENTER SUSPENDED
      - ALIVE RUNNABLE WAITING WAITING_INDEFINITELY IN_OBJECT_WAIT SUSPENDED
      - ALIVE RUNNABLE WAITING WAITING_WITH_TIMEOUT IN_OBJECT_WAIT SUSPENDED
      - ALIVE RUNNABLE WAITING WAITING_WITH_TIMEOUT PARKED SUSPENDED

            Assignee:
            Alex Menkov
            Reporter:
            Alex Menkov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: