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

StressRecompilation triggers assert "redundunt OSR recompilation detected. memory leak in CodeCache!"


    • Subcomponent:
    • Resolved In Build:



        # A fatal error has been detected by the Java Runtime Environment:
        # Internal Error (/oracle/jdk_jdk/open/src/hotspot/share/oops/instanceKlass.cpp:3091), pid=17897, tid=17909
        # assert(prev == __null || !prev->is_in_use()) failed: redundunt OSR recompilation detected. memory leak in CodeCache!
        # JRE version: Java(TM) SE Runtime Environment (15.0) (fastdebug build 15-internal+0-2020-05-26-1033362.tobias...)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 15-internal+0-2020-05-26-1033362.tobias..., compiled mode, tiered, compressed oops, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0xc9c354] InstanceKlass::add_osr_nmethod(nmethod*)+0x314
        # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P" (or dumping to /oracle/jdk_jdk/open/core.17897)
        # If you would like to submit a bug report, please visit:
        # https://bugreport.java.com/bugreport/crash.jsp

        --------------- S U M M A R Y ------------

        Command Line: -XX:+StressRecompilation -Xcomp

        Host: prometheus, Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz, 8 cores, 15G, Ubuntu 18.04.4 LTS
        Time: Tue May 26 14:27:41 2020 CEST elapsed time: 6.087660 seconds (0d 0h 0m 6s)

        --------------- T H R E A D ---------------

        Current thread (0x00007f7dac342950): JavaThread "C2 CompilerThread0" daemon [_thread_in_vm, id=17909, stack(0x00007f7d67eff000,0x00007f7d68000000)]

        Current CompileTask:
        C2: 6087 1879 % b 4 java.lang.StringLatin1::hashCode @ 10 (42 bytes)

        Stack: [0x00007f7d67eff000,0x00007f7d68000000], sp=0x00007f7d67ffb2e0, free space=1008k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0xc9c354] InstanceKlass::add_osr_nmethod(nmethod*)+0x314
        V [libjvm.so+0x7d2c3c] ciEnv::register_method(ciMethod*, int, CodeOffsets*, int, CodeBuffer*, int, OopMapSet*, ExceptionHandlerTable*, ImplicitExceptionTable*, AbstractCompiler*, bool, bool, RTMState)+0xfec
        V [libjvm.so+0x13c08ad] PhaseOutput::install_code(ciMethod*, int, AbstractCompiler*, bool, bool, RTMState)+0x17d
        V [libjvm.so+0x13c0aa4] PhaseOutput::install()+0x164
        V [libjvm.so+0x8f90d1] Compile::Code_Gen()+0x461
        V [libjvm.so+0x8ff50e] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x168e
        V [libjvm.so+0x74c6e5] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x175
        V [libjvm.so+0x90dcde] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x45e
        V [libjvm.so+0x90f378] CompileBroker::compiler_thread_loop()+0x6b8
        V [libjvm.so+0x1693cdc] JavaThread::thread_main_inner()+0x21c
        V [libjvm.so+0x1699b00] Thread::call_run()+0x100
        V [libjvm.so+0x139f0d6] thread_native_entry(Thread*)+0x116


            Issue Links



                • Assignee:
                  thartmann Tobias Hartmann
                  thartmann Tobias Hartmann
                • Votes:
                  0 Vote for this issue
                  3 Start watching this issue


                  • Created: