Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8310584

GetThreadState reports blocked and runnable for pinned suspended virtual threads

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 22
    • None
    • 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

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

              Created:
              Updated:
              Resolved: