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

CompiledICHolders of VM locked unloaded nmethods are released too late

    Details

    • Subcomponent:
    • Resolved In Build:
      b31
    • CPU:
      x86_64
    • OS:
      linux
    • Verification:
      Verified

      Backports

        Description

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (src/hotspot/share/code/nmethod.cpp:2839), pid=13948, tid=13963
        # assert(db != __null && !db->is_adapter_blob()) failed: must use stub!
        #
        # JRE version: Java(TM) SE Runtime Environment (13.0) (fastdebug build 13-internal+0-jdk13-jdk.113)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 13-internal+0-jdk13-jdk.113, compiled mode, sharing, compressed oops, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0x141b8b8] DirectNativeCallWrapper::verify_resolve_call(unsigned char*) const+0x28

        Stack: [0x00007fa260ff8000,0x00007fa2610f9000], sp=0x00007fa2610f7850, free space=1022k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x141b8b8] DirectNativeCallWrapper::verify_resolve_call(unsigned char*) const+0x28
        V [libjvm.so+0xa1d975] CompiledIC::is_call_to_interpreted() const+0x85
        V [libjvm.so+0xa229c0] CompiledIC::verify()+0x110
        V [libjvm.so+0xa2ad2b] CompiledMethod::cleanup_inline_caches_impl(bool, bool)+0x2db
        V [libjvm.so+0xa2bb82] CompiledMethod::cleanup_inline_caches(bool)+0x52
        V [libjvm.so+0x171d06a] NMethodSweeper::process_compiled_method(CompiledMethod*)+0x30a
        V [libjvm.so+0x171e77a] NMethodSweeper::sweep_code_cache()+0x30a
        V [libjvm.so+0x171f52e] NMethodSweeper::possibly_sweep()+0xde
        V [libjvm.so+0x171fba6] NMethodSweeper::sweeper_loop()+0x1f6
        V [libjvm.so+0x17ae92f] JavaThread::thread_main_inner()+0x2cf
        V [libjvm.so+0x17b87cc] JavaThread::run()+0x1cc
        V [libjvm.so+0x17b5f40] Thread::call_run()+0x100
        V [libjvm.so+0x14a03ad] thread_native_entry(Thread*)+0x10d

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  eosterlund Erik Österlund
                  Reporter:
                  mikael Mikael Vidstedt
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: