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

[Leyden] MethodHandlesAsCollectorTest.java fail on Aarch64 with product VM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • repo-leyden
    • repo-leyden
    • hotspot

      runtime/cds/appcds/methodHandles/MethodHandlesAsCollectorTest.java#aot fails consistently but not always in Mach5 on Aarch64 only with product VM:

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (output.cpp:1816), pid=3975227, tid=3975247
      # guarantee((int)(blk_starts[i+1] - blk_starts[i]) >= (current_offset - blk_offset)) failed: shouldn't increase block size
      #
      # JRE version: Java(TM) SE Runtime Environment (26.0) (build 26-internal-2025-07-01-0317541.vladimir.kozlov.leydenioi)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (26-internal-2025-07-01-0317541.vladimir.kozlov.leyden, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0xcf4e70] PhaseOutput::fill_buffer(C2_MacroAssembler*, unsigned int*)+0x13f0

      Current thread (0x0000ffffb41801f0): JavaThread "C2 CompilerThread0" daemon [_thread_in_vm, id=3975247, stack(0x0000ffff7b045000,0x0000ffff7b243000) (2040K)]

      Stack: [0x0000ffff7b045000,0x0000ffff7b243000], sp=0x0000ffff7b23f0a0, free space=2024k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xcf4e70] PhaseOutput::fill_buffer(C2_MacroAssembler*, unsigned int*)+0x13f0 (output.cpp:1816)
      V [libjvm.so+0xcf5568] PhaseOutput::Output()+0x6a0 (output.cpp:362)
      V [libjvm.so+0x6274e8] Compile::Code_Gen()+0x560 (compile.cpp:3125)
      V [libjvm.so+0x627c4c] Compile::Compile(ciEnv*, TypeFunc const* (*)(), unsigned char*, char const*, int, int, bool, bool, DirectiveSet*)+0x68c (compile.cpp:1020)
      V [libjvm.so+0xd8c9d0] OptoRuntime::generate_stub(ciEnv*, TypeFunc const* (*)(), unsigned char*, char const*, int, int, bool, bool)+0xc0 (runtime.cpp:299)
      V [libjvm.so+0xd8cb24] OptoRuntime::generate(ciEnv*)+0xe4 (runtime.cpp:191)
      V [libjvm.so+0x54209c] C2Compiler::initialize()+0xbc (c2compiler.cpp:103)
      V [libjvm.so+0x633910] CompileBroker::init_compiler_runtime()+0xd0 (compileBroker.cpp:2042)
      V [libjvm.so+0x634084] CompileBroker::compiler_thread_loop()+0x124 (compileBroker.cpp:2196)
      V [libjvm.so+0x8f1c28] JavaThread::thread_main_inner() [clone .part.0]+0xa4 (javaThread.cpp:774)
      V [libjvm.so+0xea6a54] Thread::call_run()+0xa8 (thread.cpp:254)
      V [libjvm.so+0xce0a04] thread_native_entry(Thread*)+0xf8 (os_linux.cpp:868)
      C [libpthread.so.0+0x7950] start_thread+0x190

            Unassigned Unassigned
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: