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

[lworld] C2 compilation fails with assert(is_InlineType()) failed: invalid node class: CheckCastPP

XMLWordPrintable

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S78978/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/cbf9bdc1-8746-4429-9da8-2f1212145ee1/runs/818afca1-b627-4331-b8d4-8bbeba6e879c/workspace/open/src/hotspot/share/opto/node.hpp:950), pid=10931, tid=10947
      # assert(is_InlineType()) failed: invalid node class: CheckCastPP
      #
      # JRE version: Java(TM) SE Runtime Environment (18.0) (fastdebug build 18-lworld3ea+0-2021-07-09-1340563.tobias.hartmann.valhalla2)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-lworld3ea+0-2021-07-09-1340563.tobias.hartmann.valhalla2, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xdcfc37] GraphKit::set_arguments_for_java_call(CallJavaNode*, bool)+0x527
      #
      # 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/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79063/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/04ce93cb-9a85-4011-9e96-27c78583ee8b/runs/67823e48-e392-4821-b1e3-38846348c604/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_valhalla/scratch/1/core.10931)
      #
      # 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:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79063/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/04ce93cb-9a85-4011-9e96-27c78583ee8b/runs/67823e48-e392-4821-b1e3-38846348c604/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_valhalla/tmp -XX:+UnlockExperimentalVMOptions -XX:PerMethodSpecTrapLimit=0 -XX:PerMethodTrapLimit=0 -DVerifyIR=false -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbatch -XX:TypeProfileLevel=222 -XX:CompileCommand=dontinline,compiler.valhalla.inlinetypes.TestNewAcmp::test* -XX:CompileCommand=dontinline,compiler.valhalla.inlinetypes.TestNewAcmp::cmp* compiler.valhalla.inlinetypes.TestNewAcmp 0

      Host: ol7-x64-build-test-681994, AMD EPYC 7J13 64-Core Processor, 12 cores, 46G, Oracle Linux Server release 7.9
      Time: Fri Jul 9 14:16:11 2021 UTC elapsed time: 3.503867 seconds (0d 0h 0m 3s)

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

      Current thread (0x00007f70a440cdb0): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=10947, stack(0x00007f7088494000,0x00007f7088595000)]


      Current CompileTask:
      C2: 3503 697 !b 4 jdk.internal.reflect.GeneratedMethodAccessor7::invoke (76 bytes)

      Stack: [0x00007f7088494000,0x00007f7088595000], sp=0x00007f70885917c0, free space=1013k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xdcfc37] GraphKit::set_arguments_for_java_call(CallJavaNode*, bool)+0x527
      V [libjvm.so+0x87ebeb] DirectCallGenerator::generate(JVMState*)+0x2ab
      V [libjvm.so+0xbcf10f] Parse::do_call()+0x38f
      V [libjvm.so+0x16a15e8] Parse::do_one_bytecode()+0x428
      V [libjvm.so+0x1688eb8] Parse::do_one_block()+0x838
      V [libjvm.so+0x1689de0] Parse::do_all_blocks()+0x130
      V [libjvm.so+0x168ee05] Parse::Parse(JVMState*, ciMethod*, float)+0xe25
      V [libjvm.so+0x876935] ParseGenerator::generate(JVMState*)+0x115
      V [libjvm.so+0xa73f3b] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, bool, DirectiveSet*)+0x154b
      V [libjvm.so+0x873790] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x6a0
      V [libjvm.so+0xa84ec9] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xfb9
      V [libjvm.so+0xa85c38] CompileBroker::compiler_thread_loop()+0x5a8
      V [libjvm.so+0x1995251] JavaThread::thread_main_inner()+0x271
      V [libjvm.so+0x199ce50] Thread::call_run()+0x100
      V [libjvm.so+0x1640884] thread_native_entry(Thread*)+0x104

            thartmann Tobias Hartmann
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: