vmTestbase/nsk/jvmti/AttachOnDemand tests fail with pending JNI exception checks

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • svc

      % make test TEST=vmTestbase/nsk/jvmti/AttachOnDemand TEST_VM_OPTS=-Xcheck:jni

      ...

      TargetApp (stdout): # Internal Error (/home/shipilev/shipilev-jdk/src/hotspot/share/runtime/interfaceSupport.inline.hpp:192), pid=46359, tid=46360
      TargetApp (stdout): # assert(!_thread->is_pending_jni_exception_check()) failed: Pending JNI Exception Check
      TargetApp (stdout): #
      TargetApp (stdout): # JRE version: OpenJDK Runtime Environment (27.0) (fastdebug build 27-internal-adhoc.shipilev.shipilev-jdk)
      TargetApp (stdout): # Java VM: OpenJDK 64-Bit Server VM (fastdebug 27-internal-adhoc.shipilev.shipilev-jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      TargetApp (stdout): # Problematic frame:
      TargetApp (stdout): # V [libjvm.so+0x144c522] JvmtiJavaThreadEventTransition::~JvmtiJavaThreadEventTransition()+0xa2

            Assignee:
            Unassigned
            Reporter:
            Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: