Test compiler/arguments/TestCodeEntryAlignment.java failed: assert(allocates2(pc)) failed: not in CodeBuffer memory

XMLWordPrintable

    • x86_64
    • linux, os_x

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/System/Volumes/Data/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S32524/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/dff06a82-1d4f-4e22-9562-5ced9c38c930/runs/70cf294b-ba74-4f88-af35-5aee66ae6615/workspace/open/src/hotspot/share/asm/codeBuffer.hpp:200), pid=98800, tid=28419
      # assert(allocates2(pc)) failed: not in CodeBuffer memory: 0x0000000120d9dc00 <= 0x0000000120dbadc9 <= 0x0000000120dbadc8
      #
      # JRE version: Java(TM) SE Runtime Environment (26.0+26) (fastdebug build 26-ea+26-2648)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-ea+26-2648, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
      # Core dump will be written. Default location: core.98800
      #
      # 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:+UnlockExperimentalVMOptions -XX:CodeCacheSegmentSize=1024 -XX:CodeEntryAlignment=1024 compiler.arguments.TestCodeEntryAlignment run

      Host: "Macmini8,1" x86_64 3200 MHz, 12 cores, 32G, Darwin 23.6.0, macOS 14.8 (23J21)
      Time: Thu Nov 27 16:41:38 2025 GMT elapsed time: 0.081071 seconds (0d 0h 0m 0s)

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

      Current thread (0x00007fb92c03f410): JavaThread "C2 CompilerThread0" daemon [_thread_in_vm, id=28419, stack(0x0000700006725000,0x0000700006825000) (1024K)]

      Stack: [0x0000700006725000,0x0000700006825000], sp=0x00007000068238c0, free space=1018k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x141c62e] VMError::report(outputStream*, bool)+0x1f1e (codeBuffer.hpp:200)
      V [libjvm.dylib+0x14205fb] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void const*, void const*, char const*, int, unsigned long)+0x60b
      V [libjvm.dylib+0x743488] report_vm_error(char const*, int, char const*, char const*, ...)+0xd8
      V [libjvm.dylib+0x35c362] Assembler::nop(unsigned int)+0x82
      V [libjvm.dylib+0x1224410] StubGenerator::generate_mulAdd()+0x20
      V [libjvm.dylib+0x12284e7] StubGenerator::generate_compiler_stubs()+0xc07
      V [libjvm.dylib+0x1228919] StubGenerator_generate(CodeBuffer*, BlobId)+0x29
      V [libjvm.dylib+0x12b2204] initialize_stubs(BlobId, int, int, char const*, char const*, char const*)+0x184
      V [libjvm.dylib+0x12b2836] compiler_stubs_init(bool)+0x96
      V [libjvm.dylib+0x543547] C2Compiler::init_c2_runtime()+0x117
      V [libjvm.dylib+0x543730] C2Compiler::initialize()+0xb0
      V [libjvm.dylib+0x6a9e23] CompileBroker::init_compiler_runtime()+0x103
      V [libjvm.dylib+0x6aa9aa] CompileBroker::compiler_thread_loop()+0x1ba
      V [libjvm.dylib+0xac0986] JavaThread::thread_main_inner()+0x1d6
      V [libjvm.dylib+0x135eb1c] Thread::call_run()+0xbc
      V [libjvm.dylib+0x1060527] thread_native_entry(Thread*)+0x137
      C [libsystem_pthread.dylib+0x611f] _pthread_start+0x63
      C [libsystem_pthread.dylib+0x1ac3] thread_start+0xf
      Lock stack of current Java thread (top to bottom):

            Assignee:
            Volodymyr Paprotski
            Reporter:
            David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: