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

serviceability/jvmti/vthread/GetSetLocalTest/GetSetLocalTest.java fails with JVMTI_ERROR_THREAD_NOT_ALIVE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 20
    • 19
    • hotspot

      Test serviceability/jvmti/vthread/GetSetLocalTest/GetSetLocalTest.java fails with JVMTI_ERROR_THREAD_NOT_ALIVE

      Agent_OnLoad started
      Agent_OnLoad finished
      testSuspendedVirtualThreads: started for virtual thread: VThread-Producer
      testSuspendedVirtualThreads: DEPTH > 0
      testSuspendedVirtualThreads: UNMOUNTED VTHREAD
      testSuspendedVirtualThreads: iter: 1
      test_GetSetLocal: test_GetLocal with values0
      test_GetLocal: mounted: 0 depth: 7 fcount: 15
          local String value at slot 0: msg: 4.500000047683716
          local Thread value at slot 1: 000000B6220BE778
          local int value at slot 2: 1
          local long value at slot 3: 2
          local float value at slot 5: 3.200000
          local double value at slot 6: 4.500000
      test_GetSetLocal: test_SetLocal with values1
      test_SetLocal: mounted: 0 depth: 7 fcount: 15
      test_GetSetLocal: finished

      testSuspendedVirtualThreads: finished
      enableEvents: started
      check_jvmti_status: JVMTI function returned error: JVMTI_ERROR_THREAD_NOT_ALIVE (15)
      FATAL ERROR in native method: enableEvents: error in JVMTI SetEventNotificationMode: enable BREAKPOINT
      at GetSetLocalTest.enableEvents(Native Method)
      at GetSetLocalTest.test1(GetSetLocalTest.java:84)
      at GetSetLocalTest.runTest(GetSetLocalTest.java:91)
      at GetSetLocalTest.main(GetSetLocalTest.java:104)
      at java.lang.invoke.LambdaForm$DMH/0x0000000801003000.invokeStatic(java.base@19-ea/LambdaForm$DMH)
      at java.lang.invoke.LambdaForm$MH/0x0000000801004400.invoke(java.base@19-ea/LambdaForm$MH)
      at java.lang.invoke.Invokers$Holder.invokeExact_MT(java.base@19-ea/Invokers$Holder)
      at jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(java.base@19-ea/DirectMethodHandleAccessor.java:155)
      at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(java.base@19-ea/DirectMethodHandleAccessor.java:104)
      at java.lang.reflect.Method.invoke(java.base@19-ea/Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.lang.Thread.run(java.base@19-ea/Thread.java:1596)

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

              Created:
              Updated:
              Resolved: