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

C2: "fatal error: Not monotonic" with Mod nodes

XMLWordPrintable

      Since yesterday we see the following error on Linux aarch64 . Is it maybe related to new HS coding?
      Test java/foreign/TestUpcallStress.java triggers this (fastdebug was used for running tests) .

      # Internal Error (/priv/jenkins/client-home/workspace/openjdk-jdk-dev-linux_aarch64-dbg/jdk/src/hotspot/share/opto/phaseX.cpp:2763), pid=1089937, tid=1089972
      # fatal error: Not monotonic
      #
      # JRE version: OpenJDK Runtime Environment (26.0) (fastdebug build 26-internal-adhoc.sapmachine.jdk)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 26-internal-adhoc.sapmachine.jdk, mixed mode, sharing, tiered, compressed oops, compact obj headers, g1 gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0x157a6c4] PhaseCCP::verify_type(Node*, Type const*, Type const*)+0x1a4
      #
      #
      --------------- T H R E A D ---------------

      Current thread (0x0000ff5b2024d160): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=1089972, stack(0x0000ff5aeec08000,0x0000ff5aeee06000) (2040K)]


      Current CompileTask:
      C2:21575 3680 4 jdk.internal.foreign.Utils::computePaddedStructLayout (159 bytes)

      Stack: [0x0000ff5aeec08000,0x0000ff5aeee06000], sp=0x0000ff5aeee009e0, free space=2018k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x157a6c4] PhaseCCP::verify_type(Node*, Type const*, Type const*)+0x1a4 (phaseX.cpp:2763)
      V [libjvm.so+0x15829bc] PhaseCCP::analyze()+0x2bc (phaseX.cpp:2806)
      V [libjvm.so+0x996868] Compile::Optimize()+0x768 (compile.cpp:2481)
      V [libjvm.so+0x999084] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1664 (compile.cpp:859)
      V [libjvm.so+0x7dd3dc] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x2c8 (c2compiler.cpp:147)
      V [libjvm.so+0x9a7bf8] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xaa4 (compileBroker.cpp:2342)
      V [libjvm.so+0x9a8974] CompileBroker::compiler_thread_loop()+0x600 (compileBroker.cpp:1986)
      V [libjvm.so+0xeb23f8] JavaThread::thread_main_inner()+0x104 (javaThread.cpp:775)
      V [libjvm.so+0x19b54fc] Thread::call_run()+0xac (thread.cpp:243)
      V [libjvm.so+0x14faa14] thread_native_entry(Thread*)+0x130 (os_linux.cpp:898)
      C [libc.so.6+0x8595c]

            hgreule Hannes Greule
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: