RFR: 8360048: NMT crash in gtest/NMTGtests.java: fatal error: NMT corruption: Block at 0x0000017748307120: header canary broken [v3]

Afshin Zafari azafari at openjdk.org
Thu Aug 7 09:20:41 UTC 2025


> The canary header test failed since there were concurrent `remove` and `free()` from the tree. The `remove` operations are synch'ed with corresponding NMT lock. The `ReserveMemory::reserve()` uses the same lock internally and is not included in the locked code block.
> 
> Tests: tier5 {macosx-aarch64, linux-x64, windows-x64} x {debug, release}

Afshin Zafari has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:

 - Merge remote-tracking branch 'origin/master' into _8360048_corrupted_canary_header
 - local VMT vs static one.
 - 8360048: NMT crash in gtest/NMTGtests.java: fatal error: NMT corruption: Block at 0x0000017748307120: header canary broken

-------------

Changes: https://git.openjdk.org/jdk/pull/25950/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25950&range=02
  Stats: 129 lines in 5 files changed: 26 ins; 25 del; 78 mod
  Patch: https://git.openjdk.org/jdk/pull/25950.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25950/head:pull/25950

PR: https://git.openjdk.org/jdk/pull/25950


More information about the hotspot-runtime-dev mailing list