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

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

XMLWordPrintable

    • b10
    • x86_64
    • os_x

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/System/Volumes/Data/mesos/work_dir/slaves/10acffa9-2614-4cd6-9202-69526500df78-S783/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5126703e-03ea-4ca4-bd49-b5102345548b/runs/2fe023df-0339-4a4c-b972-149157181a30/workspace/open/src/hotspot/share/asm/codeBuffer.hpp:200), pid=58547, tid=28931
      # assert(allocates2(pc)) failed: not in CodeBuffer memory: 0x000000011b519800 <= 0x000000011b52f881 <= 0x000000011b52f880
      #
      # JRE version: Java(TM) SE Runtime Environment (25.0+9) (fastdebug build 25-ea+9-LTS-864)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25-ea+9-LTS-864, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
      # Core dump will be written. Default location: core.58547
      #
      # 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.2.0, macOS 14.2 (23C64)
      Time: Thu Jan 30 19:30:31 2025 GMT elapsed time: 0.140911 seconds (0d 0h 0m 0s)

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

      Current thread (0x00007fb1c880bc10): JavaThread "C2 CompilerThread0" daemon [_thread_in_vm, id=28931, stack(0x0000700009e20000,0x0000700009f20000) (1024K)]

      Stack: [0x0000700009e20000,0x0000700009f20000], sp=0x0000700009f1dd00, free space=1015k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x12b12d0] VMError::report(outputStream*, bool)+0x1e30 (codeBuffer.hpp:200)
      V [libjvm.dylib+0x12b4e21] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void const*, void const*, char const*, int, unsigned long)+0x5a1
      V [libjvm.dylib+0x6ad48d] report_vm_error(char const*, int, char const*, char const*, ...)+0xcd
      V [libjvm.dylib+0x2e56e9] Assembler::movl(Register, Address)+0x189
      V [libjvm.dylib+0xe105d1] MacroAssembler::multiply_64_x_64_loop(Register, Register, Register, Register, Register, Register, Register, Register, Register, Register)+0x531
      V [libjvm.dylib+0xe11f77] MacroAssembler::multiply_to_len(Register, Register, Register, Register, Register, Register, Register, Register, Register, Register, Register)+0x247
      V [libjvm.dylib+0x1103866] StubGenerator::generate_multiplyToLen()+0xa6
      V [libjvm.dylib+0x1107e23] StubGenerator::generate_compiler_stubs()+0xb53
      V [libjvm.dylib+0x110847a] StubGenerator_generate(CodeBuffer*, StubGenBlobId)+0x1a
      V [libjvm.dylib+0x1168369] initialize_stubs(StubGenBlobId, int, int, char const*, char const*, char const*)+0xd9
      V [libjvm.dylib+0x11687e5] compiler_stubs_init(bool)+0x95
      V [libjvm.dylib+0x4c7097] C2Compiler::init_c2_runtime()+0x137
      V [libjvm.dylib+0x4c724f] C2Compiler::initialize()+0xaf
      V [libjvm.dylib+0x61cfe9] CompileBroker::init_compiler_runtime()+0xc9
      V [libjvm.dylib+0x61dad7] CompileBroker::compiler_thread_loop()+0x157
      V [libjvm.dylib+0xa08b08] JavaThread::thread_main_inner()+0x178
      V [libjvm.dylib+0x120204c] Thread::call_run()+0xbc
      V [libjvm.dylib+0xf5f1a3] thread_native_entry(Thread*)+0x123
      C [libsystem_pthread.dylib+0x6202] _pthread_start+0x63
      C [libsystem_pthread.dylib+0x1bab] thread_start+0xf
      Lock stack of current Java thread (top to bottom):

            adinn Andrew Dinn
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: