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

C2 crash: assert(edge_from_to(prior_use,n)) failed: before block local scheduling

XMLWordPrintable

      Test: applications/runthese/RunThese8H.javaclosed

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (c:\sb\prod\1750458651\workspace\open\src\hotspot\share\opto\output.cpp:2891), pid=88088, tid=21468
      # assert(edge_from_to(prior_use,n)) failed: before block local scheduling
      #
      # JRE version: Java(TM) SE Runtime Environment (26.0+4) (fastdebug build 26-ea+4-251)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-ea+4-251, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
      # Problematic frame:
      # V [jvm.dll+0xdf63d4] Scheduling::verify_do_def+0x174
      #
      # Core dump will be written. Default location: C:\sb\prod\1750562206\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese8H_java\scratch\0\hs_err_pid88088.mdmp
      #
      # 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: -Xbootclasspath/a:C:\sb\prod\1750562206\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese8H_java\scratch\0\wb.jar -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk\24\36\bundles\windows-x64\jdk-24_windows-x64_bin.zip\jdk-24 -Djava.io.tmpdir=c:\sb\prod\1750562206\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese8H_java\tmp -XX:+CreateCoredumpOnCrash -XX:UseAVX=3 -XX:+UnlockDiagnosticVMOptions -XX:+UseKNLSetting -XX:MaxRAMPercentage=50 -Djava.net.preferIPv6Addresses=false -XX:+DisplayVMOutputToStderr -Xlog:gc*,gc+heap=debug:gc.log:uptime,timemillis,level,tags -XX:+DisableExplicitGC -XX:+StartAttachListener -XX:CompileCommand=memlimit,*.*,0 -Xlog:monitorinflation=info:file=../monitorinflation.log::filesize=500m -Djava.io.tmpdir=C:\sb\prod\1750562206\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese8H_java\scratch\0/java.io.tmpdir -Duser.home=C:\sb\prod\1750562206\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese8H_java\scratch\0/user.home -agentpath:c:\ade\mesos\work_dir\jib-master\install\jdk-26+4-251\windows-x64-debug.test\hotspot\jtreg\native\JvmtiStressModule.dll -Xverify:all -javaagent:redefineagent.jar -XX:NativeMemoryTracking=detail -Djdk.test.lib.random.seed=-171420690909084533 applications.kitchensink.process.stress.Main C:\sb\prod\1750562206\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese8H_java\scratch\0\kitchensink.final.properties

      Host: Intel(R) Xeon(R) Platinum 8358 CPU @ 2.60GHz, 12 cores, 23G, Windows Server 2019 , 64 bit Build 17763 (10.0.17763.7009)
      Time: Sun Jun 22 06:04:23 2025 /GM elapsed time: 5341.358941 seconds (0d 1h 29m 1s)

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

      Current thread (0x00000254fc3c2d50): JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=21468, stack(0x000000cca3800000,0x000000cca3900000) (1024K)]


      Current CompileTask:
      C2:5341359 197348 4 java.lang.Throwable::printEnclosedStackTrace (353 bytes)

      Stack: [0x000000cca3800000,0x000000cca3900000], sp=0x000000cca38fbda0, free space=1007k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xdf63d4] Scheduling::verify_do_def+0x174 (output.cpp:2891)
      V [jvm.dll+0xdf6605] Scheduling::verify_good_schedule+0x215 (output.cpp:2918)
      V [jvm.dll+0xdea817] Scheduling::ComputeRegisterAntidependencies+0x37 (output.cpp:3101)
      V [jvm.dll+0xdeba34] Scheduling::DoScheduling+0x484 (output.cpp:2809)
      V [jvm.dll+0xdee392] PhaseOutput::Output+0x632 (output.cpp:342)
      V [jvm.dll+0x5b789d] Compile::Code_Gen+0x37d (compile.cpp:3120)
      V [jvm.dll+0x5b5d9e] Compile::Compile+0x122e (compile.cpp:902)
      V [jvm.dll+0x4b9e59] C2Compiler::compile_method+0x179 (c2compiler.cpp:144)
      V [jvm.dll+0x5d40de] CompileBroker::invoke_compiler_on_method+0x7ae (compileBroker.cpp:2323)
      V [jvm.dll+0x5d142f] CompileBroker::compiler_thread_loop+0x32f (compileBroker.cpp:1968)
      V [jvm.dll+0x925218] JavaThread::thread_main_inner+0x288 (javaThread.cpp:774)
      V [jvm.dll+0x1031da2] Thread::call_run+0x1b2 (thread.cpp:248)
      V [jvm.dll+0xde41c1] thread_native_entry+0xe1 (os_windows.cpp:562)
      C [ucrtbase.dll+0x2268a] (no source info available)
      C [KERNEL32.DLL+0x17ac4] (no source info available)
      C [ntdll.dll+0x5a8c1] (no source info available)

            mhaessig Manuel Hässig
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: