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

fatal error for the NMTBenchmark test run for the mainline build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 23
    • 22
    • hotspot
    • b15
    • x86
    • linux

      The micro benchmark test NMTBenchmark.NMTDetail.mixAallocateFreeMemory leads to core dump for 2 threads runs on the E-cores under the CentOS9.
      Command to run:
      java -Xmx6G -jar benchmarks.jar \
        -f 1 -wi 2 -w 8 -i 2 -r 15 -t 2 \ org.openjdk.bench.vm.runtime.NMTBenchmark.NMTDetail.mixAallocateFreeMemory

      Output:
      # Fork: 1 of 1
      # Warmup Iteration 1: NMT Block at 0x00007f8eb4ff7f30, corruption at: 0x00007f8eb4ff7f30:
      0x00007f8eb4ff7eb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      0x00007f8eb4ff7ec0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      0x00007f8eb4ff7ed0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      0x00007f8eb4ff7ee0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      0x00007f8eb4ff7ef0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      0x00007f8eb4ff7f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      0x00007f8eb4ff7f10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      0x00007f8eb4ff7f20: 20 04 00 00 00 00 00 00 24 04 00 00 00 00 00 00
      0x00007f8eb4ff7f30: 00 04 00 00 00 00 00 00 00 00 f6 03 0a 00 9d d9
      0x00007f8eb4ff7f40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      0x00007f8eb4ff7f50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      0x00007f8eb4ff7f60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      0x00007f8eb4ff7f70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      0x00007f8eb4ff7f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      0x00007f8eb4ff7f90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      0x00007f8eb4ff7fa0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (mallocHeader.inline.hpp:107), pid=671045, tid=671074
      # fatal error: NMT corruption: Block at 0x00007f8eb4ff7f40: header canary broken
      #
      # JRE version: OpenJDK Runtime Environment (22.0) (build 22-internal)
      # Java VM: OpenJDK 64-Bit Server VM (22-internal, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xc45575] MallocHeader* MallocHeader::resolve_checked_impl<void*, MallocHeader*>(void*)+0xf5

            azafari Afshin Zafari
            vaivanov Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: