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

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

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • 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.

            Unassigned Unassigned
            dskantz Daniel Skantz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: