Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8271065 vmTestbase/nsk/jvmti/GetThreadState/thrstat002 still fails with "Wrong thread "thr1" (...) state after SuspendThread"
  3. JDK-8278330

dump stack trace if the jvmti test nsk/jvmti/GetThreadState/thrstat002 is failed with wrong thread state

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • 18
    • hotspot
    • b28

        The vmTestbase/nsk/jvmti/GetThreadState/thrstat002 test is intermittently failing with the wrong thread state reported. It is most likely because of the unexpected JFR (or NMT) activity.
        This was suggested by David H. :
          We need to dump the stack of the target thread when we find it in the wrong state. It is possible (in the absence of any detailed knowledge about how JFR might operate here) that JFR does cause the thread to go to unexpected code where it can be seen in the wrong state. But we really need to confirm that.

              sspitsyn Serguei Spitsyn
              sspitsyn Serguei Spitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: