Stress test fails with unexpected profiling mismatch

XMLWordPrintable

      An internal stress test fails with -XX:TieredStopAtLevel=3:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (src/hotspot/cpu/x86/macroAssembler_x86.cpp:829), pid=25004, tid=86143
      # fatal error: DEBUG MESSAGE: unexpected profiling mismatch
      #
      # JRE version: Java(TM) SE Runtime Environment (21.0.11+5) (fastdebug build 21.0.11+5-LTS-202)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 21.0.11+5-LTS-202, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)

      --------------- S U M M A R Y ------------

      Command Line: -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Djava.security.manager=allow -XX:MaxRAMPercentage=4.16667 -XX:TieredStopAtLevel=3 -XX:MaxRAMPercentage=50 -Djava.net.preferIPv6Addresses=false -XX:+DisplayVMOutputToStderr -Xlog:gc*,gc+heap=debug:gc.log:uptime,timemillis,level,tags -XX:+DisableExplicitGC -XX:+StartAttachListener -Xlog:monitorinflation=info:file=../monitorinflation.log::filesize=500m -agentpath:/System/Volumes/Data/jdk-21.0.11+5-202/macosx-x64-debug.test/hotspot/jtreg/native/libJvmtiStressModule.dylib -XX:NativeMemoryTracking=detail -Djdk.test.lib.random.seed=-8145392877244644675 Main

      Host:"Macmini8,1" x86_64 3200 MHz, 12 cores, 32G, Darwin 23.6.0, macOS 14.8 (23J21)
      Time: Sat Feb 21 18:46:19 2026 GMT elapsed time: 428.520219 seconds (0d 0h 7m 8s)

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

      Current thread (0x00007fee7a13dc10): JavaThread "Thread-4303" daemon [_thread_in_Java, id=86143, stack(0x0000700012c28000,0x0000700012d28000) (1024K)]

      Stack: [0x0000700012c28000,0x0000700012d28000], sp=0x0000700012d26a30, free space=1018k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x14c1679] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x739 (macroAssembler_x86.cpp:829)
      V [libjvm.dylib+0x7df592] report_fatal(VMErrorType, char const*, int, char const*, ...)+0x182
      J 14300 c1 java.util.concurrent.ConcurrentSkipListMap.addCount(J)V java.base@21.0.11 (35 bytes) @ 0x000000010e0acda0 [0x000000010e0acac0+0x00000000000002e0]

      [error occurred during error reporting (printing native stack (with source info)), id 0xe0000000, Internal Error (src/hotspot/share/code/codeCache.inline.hpp:49)]

      Retrying call stack printing without source information...
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x14c1679] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x739 (macroAssembler_x86.cpp:829)
      V [libjvm.dylib+0x14c1d7b] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x3b
      V [libjvm.dylib+0x7df805] report_vm_error(char const*, int, char const*, char const*, ...)+0xc5
      V [libjvm.dylib+0x5a729a] frame::frame(long*, long*, long*, unsigned char*)+0xfa
      V [libjvm.dylib+0x5a6f7c] frame::sender_for_compiled_frame(RegisterMap*) const+0x43c
      V [libjvm.dylib+0x5a69cb] frame::sender_raw(RegisterMap*) const+0x1ab
      V [libjvm.dylib+0x14bb7fc] next_frame(frame, Thread*)+0x20c
      V [libjvm.dylib+0x14bb383] VMError::print_native_stack(outputStream*, frame, Thread*, bool, int, char*, int)+0x113
      V [libjvm.dylib+0x14bca53] VMError::report(outputStream*, bool)+0x1043
      V [libjvm.dylib+0x14c1679] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x739
      V [libjvm.dylib+0x7df592] report_fatal(VMErrorType, char const*, int, char const*, ...)+0x182
      J 14300 c1 java.util.concurrent.ConcurrentSkipListMap.addCount(J)V java.base@21.0.11 (35 bytes) @ 0x000000010e0acda0 [0x000000010e0acac0+0x00000000000002e0]

            Assignee:
            Unassigned
            Reporter:
            Mimoun Ghordou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: