Assert in LateInlineMHCallGenerator::do_late_inline_check

XMLWordPrintable

    • b05

        Stress test crashes with

        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S151421/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/71eb7bb4-de89-4d8d-b938-e68e217cacbf/runs/6333454c-e051-478a-b196-6e05a6cf2c52/workspace/open/src/hotspot/share/opto/callGenerator.cpp:439), pid=215044, tid=310892
        # assert(!cg->is_late_inline() || cg->is_mh_late_inline() || AlwaysIncrementalInline || StressIncrementalInlining) failed: we're doing late inlining
        #
        # JRE version: Java(TM) SE Runtime Environment (24.0) (fastdebug build 24-internal-2024-10-17-2147406.yudi.zheng.jdk)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 24-internal-2024-10-17-2147406.yudi.zheng.jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0x889191] LateInlineMHCallGenerator::do_late_inline_check(Compile*, JVMState*)+0x3c1
        #
        # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/7a20d425-e769-4142-b5c1-e3cc2d88e03e-S63398/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/550a016f-ffd3-43a9-bf6b-56059e2bfdc0/runs/9a4725ec-12a3-4e81-a021-0253a83601b9/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_renaissance_RenaissanceStressTest24H_java/scratch/0/core.215044)
        #
        # JFR recording file will be written. Location: /opt/mach5/mesos/work_dir/slaves/7a20d425-e769-4142-b5c1-e3cc2d88e03e-S63398/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/550a016f-ffd3-43a9-bf6b-56059e2bfdc0/runs/9a4725ec-12a3-4e81-a021-0253a83601b9/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_renaissance_RenaissanceStressTest24H_java/scratch/0/hs_err_pid215044.jfr


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

        Current thread (0x00007f3da6f4b3a0): JavaThread "C2 CompilerThread2" daemon [_thread_in_native, id=310892, stack(0x00007f3d90ed0000,0x00007f3d90fd0000) (1024K)]


        Current CompileTask:
        C2:31871972 5648913 ! 4 org.neo4j.cypher.internal.javacompat.ResultSubscriber::close (46 bytes)

        Stack: [0x00007f3d90ed0000,0x00007f3d90fd0000], sp=0x00007f3d90fcafa0, free space=1003k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x889191] LateInlineMHCallGenerator::do_late_inline_check(Compile*, JVMState*)+0x3c1 (callGenerator.cpp:439)
        V [libjvm.so+0x885ff4] CallGenerator::do_late_inline_helper()+0x8b4 (callGenerator.cpp:693)
        V [libjvm.so+0xa2e6b5] Compile::inline_incrementally_one()+0xd5 (compile.cpp:2040)
        V [libjvm.so+0xa2f500] Compile::inline_incrementally(PhaseIterGVN&)+0x240 (compile.cpp:2123)
        V [libjvm.so+0xa2ff2e] Compile::Optimize()+0x35e (compile.cpp:2258)
        V [libjvm.so+0xa345e3] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1b23 (compile.cpp:852)
        V [libjvm.so+0x87e355] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1d5 (c2compiler.cpp:142)
        V [libjvm.so+0xa40458] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x928 (compileBroker.cpp:2303)
        V [libjvm.so+0xa410e8] CompileBroker::compiler_thread_loop()+0x478 (compileBroker.cpp:1961)
        V [libjvm.so+0xf11bdc] JavaThread::thread_main_inner()+0xcc (javaThread.cpp:773)
        V [libjvm.so+0x1841876] Thread::call_run()+0xb6 (thread.cpp:234)
        V [libjvm.so+0x15220a8] thread_native_entry(Thread*)+0x128 (os_linux.cpp:858)
        Registers:
        RAX=0x00007f3f07612000, RBX=0x00007f3e60cdfc08, RCX=0x00007f3f06305cc1, RDX=0x00007f3f0639e1b8
        RSP=0x00007f3d90fcafa0, RBP=0x00007f3d90fcb090, RSI=0x00000000000001b7, RDI=0x00007f3f0639d440
        R8 =0x0000000000000001, R9 =0x00007f3e60cdfc08, R10=0x0000000000000000, R11=0x0000000000000000
        R12=0x00007f3d90fcd820, R13=0x00007f3d0d57c140, R14=0x00007f3e60cdfbc8, R15=0x0000000000000001
        RIP=0x00007f3f0507b191, EFLAGS=0x0000000000010246, CSGSFS=0x002b000000000033, ERR=0x0000000000000006
          TRAPNO=0x000000000000000e

              Assignee:
              Damon Fenacci
              Reporter:
              Leonid Mesnik
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: