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

[lworld] C2 compilation fails with assert "Should have been buffered"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • hotspot

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/oracle/valhalla/open/src/hotspot/share/opto/compile.cpp:2029), pid=204231, tid=204244
      # assert(false) failed: Should have been buffered
      #
      # JRE version: Java(TM) SE Runtime Environment (21.0) (fastdebug build 21-lworld4ea-LTS-2023-02-06-0803323.tobias...)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 21-lworld4ea-LTS-2023-02-06-0803323.tobias..., mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xb33bf1] Compile::process_inline_types(PhaseIterGVN&, bool)+0x51

      Current CompileTask:
      C2: 194 2 % 4 MainClass::test @ 14 (37 bytes)

      Stack: [0x00007f1486c00000,0x00007f1486d01000], sp=0x00007f1486cfc0b0, free space=1008k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xb33bf1] Compile::process_inline_types(PhaseIterGVN&, bool)+0x511 (compile.cpp:2029)
      V [libjvm.so+0xb51d69] Compile::Optimize()+0x1919 (compile.cpp:2911)
      V [libjvm.so+0xb55559] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1959 (compile.cpp:843)
      V [libjvm.so+0x947b0e] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x51e (c2compiler.cpp:113)
      V [libjvm.so+0xb62b4c] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xa7c (compileBroker.cpp:2237)
      V [libjvm.so+0xb63958] CompileBroker::compiler_thread_loop()+0x608 (compileBroker.cpp:1916)
      V [libjvm.so+0x10d6c16] JavaThread::thread_main_inner()+0x206 (javaThread.cpp:711)
      V [libjvm.so+0x1b262b0] Thread::call_run()+0x100 (thread.cpp:224)
      V [libjvm.so+0x1797e53] thread_native_entry(Thread*)+0x103 (os_linux.cpp:739)

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

              Created:
              Updated:
              Resolved: