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

Node budget asserts on x86_32/64

    XMLWordPrintable

Details

    • b28
    • Not verified

    Backports

      Description

        (provisional synopsis, feel free to edit)

        Happens more or less reliably with the test like:

        $ CONF=linux-x86-server-fastdebug make images run-test TEST=jdk/jshell/ToolSimpleTest.java

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/home/shade/jdk-jdk/src/hotspot/share/opto/loopnode.hpp:1409), pid=90700, tid=91215
        # assert(C->live_nodes() - live_at_begin <= 2 * _nodes_required) failed: Bad node estimate: actual = 2161 >> request = 959
        #
        # JRE version: OpenJDK Runtime Environment (13.0) (fastdebug build 13-internal+0-adhoc.shade.jdk-jdk)
        # Java VM: OpenJDK Server VM (fastdebug 13-internal+0-adhoc.shade.jdk-jdk, mixed mode, tiered, g1 gc, linux-x86)
        # Problematic frame:
        # V [libjvm.so+0xf2468a] AutoNodeBudget::~AutoNodeBudget()+0xda
        #
        # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
        #
        # An error report file with more information is saved as:
        # /home/shade/jdk-jdk/build/linux-x86-server-fastdebug/test-support/jtreg_test_langtools_jdk_jshell_ToolSimpleTest_java/scratch/0/hs_err_pid90700.log
        #
        # Compiler replay data is saved as:
        # /home/shade/jdk-jdk/build/linux-x86-server-fastdebug/test-support/jtreg_test_langtools_jdk_jshell_ToolSimpleTest_java/scratch/0/replay_pid90700.log
        #
        # If you would like to submit a bug report, please visit:
        # http://bugreport.java.com/bugreport/crash.jsp
        #
        --------------- T H R E A D ---------------

        Current thread (0xad6c9800): JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=91215, stack(0xa967f000,0xa9700000)]


        Current CompileTask:
        C2: 20942 6049 ! 4 com.sun.tools.javac.parser.JavaTokenizer::readToken (2155 bytes)

        Stack: [0xa967f000,0xa9700000], sp=0xa96fd180, free space=504k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0xf2468a] AutoNodeBudget::~AutoNodeBudget()+0xda
        V [libjvm.so+0xf21bdf] IdealLoopTree::iteration_split_impl(PhaseIdealLoop*, Node_List&)+0x11f
        V [libjvm.so+0xf220db] IdealLoopTree::iteration_split(PhaseIdealLoop*, Node_List&)+0x11b
        V [libjvm.so+0xf21fed] IdealLoopTree::iteration_split(PhaseIdealLoop*, Node_List&)+0x2d
        V [libjvm.so+0xf43eb7] PhaseIdealLoop::build_and_optimize(LoopOptsMode)+0x10b7
        V [libjvm.so+0x86f9c8] PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x268
        V [libjvm.so+0x86c3d3] Compile::Optimize()+0x4d3
        V [libjvm.so+0x86e65f] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x17df
        V [libjvm.so+0x6c3ace] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x39e
        V [libjvm.so+0x87acee] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x5ee
        V [libjvm.so+0x87bd92] CompileBroker::compiler_thread_loop()+0x2f2
        V [libjvm.so+0x14cd409] compiler_thread_entry(JavaThread*, Thread*)+0x59
        V [libjvm.so+0x14d5706] JavaThread::thread_main_inner()+0x1c6
        V [libjvm.so+0x14dc189] Thread::call_run()+0xf9
        V [libjvm.so+0x1133aa6] thread_native_entry(Thread*)+0x136
        C [libpthread.so.0+0x627a] start_thread+0xda

        Started to happen recently, after JDK-8223363, JDK-8223502 JDK-8224648 enabled the node budged verifications again.

        Attachments

          Issue Links

            Activity

              People

                phedlin Patric Hedlin (Inactive)
                shade Aleksey Shipilev
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: