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

nsk/jvmti/PopFrame/popframe004 failed with: TEST FAILED: 30 JVMTI events were generated by the function PopFrame()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • 19
    • hotspot
    • b09

      The following test failed in the JDK19 CI:

      vmTestbase/nsk/jvmti/PopFrame/popframe004/TestDescription.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(4/242)----------
      command: main -agentlib:popframe004 nsk.jvmti.PopFrame.popframe004
      reason: User specified action: run main/othervm/native -agentlib:popframe004 nsk.jvmti.PopFrame.popframe004
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 38.367
      ----------configuration:(0/0)----------
      ----------System.out:(49/2119)----------
      nativeMeth(): calling the native nativeMeth2()
      nativeMeth2(): calling the Java activeMethod()
      popFrameCls (Thread[Thread-1,5,MainThreadGroup]): inside activeMethod()
      Going to pop the frame on other thread...
      >>>>>>>> Invoke SuspendThread()
      <<<<<<<< SuspendThread() is successfully done
      >>>>>>>> Invoke PopFrame()
      Check PASSED: PopFrame() failed as expected with 32: JVMTI_ERROR_OPAQUE_FRAME
      Check PASSED: No JVMTI events were generated by the function PopFrame()
      >>>>>>>> Invoke ResumeThread()
      <<<<<<<< ResumeThread() is successfully done
      popFrameCls (Thread[Thread-1,5,MainThreadGroup]): looping...
      TEST FAILED: thread with the method of the popped frame is still alive
      Going to pop the native frame on the current thread...
      >>>>>>>> Invoke PopFrame()
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      Check PASSED: PopFrame() failed as expected with 32: JVMTI_ERROR_OPAQUE_FRAME
      popFrameCls (Thread[Thread-1,5,MainThreadGroup]): exiting activeMethod()...
      popFrameCls (Thread[Thread-1,5,MainThreadGroup]): exiting...
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      #### MethodExit event occurred ####
      TEST FAILED: 30 JVMTI events were generated by the function PopFrame()
      ----------System.err:(0/0)----------
      ----------rerun:(44/8497)*----------

            sspitsyn Serguei Spitsyn
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: