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

GetThreadState reports blocked and runnable for pinned suspended virtual threads

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 22
    • None
    • hotspot
    • None
    • b07

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: