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

nmethod::post_compiled_method_load_event racingly called on zombie

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 17
    • 17
    • hotspot
    • gc
    • b28
    • aarch64
    • linux
    • Verified

        This appears to be a similar crash as observed with JDK-8267972.

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0x0000fffc0edee020, pid=45124, tid=47438
        #
        # JRE version: Java(TM) SE Runtime Environment (17.0+26) (fastdebug build 17-ea+26-LTS-2407)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-ea+26-LTS-2407, compiled mode, sharing, tiered, compressed class ptrs, z gc, linux-aarch64)
        # Problematic frame:
        # V [libjvm.so+0x131e020] Method::is_method_handle_intrinsic() const+0x0


        Current thread (0x0000fffc082f7d80): JavaThread "Thread-0" daemon [_thread_in_vm, id=47438, stack(0x0000fff9ca800000,0x0000fff9caa00000)]

        Stack: [0x0000fff9ca800000,0x0000fff9caa00000], sp=0x0000fff9ca9fe660, free space=2041k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x131e020] Method::is_method_handle_intrinsic() const+0x0
        V [libjvm.so+0x61bcf8] BarrierSetNMethod::is_armed(nmethod*)+0x18
        V [libjvm.so+0x186e154] ZBarrierSetNMethod::nmethod_entry_barrier(nmethod*)+0x94
        V [libjvm.so+0x9a66f0] CompiledMethod::run_nmethod_entry_barrier()+0x60
        V [libjvm.so+0x1115f50] JvmtiDeferredEventQueue::run_nmethod_entry_barriers()+0x40
        V [libjvm.so+0x1076f20] JvmtiCodeBlobEvents::generate_compiled_method_load_events(JvmtiEnv*)+0x190
        V [libjvm.so+0x107d340] jvmti_GenerateEvents+0xec
        C [libCompiledZombie.so+0x930] GenerateEventsThread+0x5c
        V [libjvm.so+0x1112164] JvmtiAgentThread::call_start_function()+0x1e4
        V [libjvm.so+0x170421c] JavaThread::thread_main_inner()+0x28c
        V [libjvm.so+0x170e458] Thread::call_run()+0xf8
        V [libjvm.so+0x142ab34] thread_native_entry(Thread*)+0x104
        C [libpthread.so.0+0x7738] start_thread+0x198

              eosterlund Erik Österlund
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: