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

JVMTI GetThreadState on carrier should return STATE_WAITING

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 21
    • 21
    • hotspot
    • b26

    Description

      When a virtual thread is mounted, the carrier thread should be reported as "waiting" until the virtual thread unmounts. Right now, GetThreadState reports a state based the JavaThread status when it should return JVMTI_THREAD_STATE_WAITING | JVMTI_THREAD_STATE_WAITING_INDEFINITELY.

      Attachments

        Issue Links

          Activity

            People

              sspitsyn Serguei Spitsyn
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: