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

Johan Sjölen jsjolen at openjdk.org
Fri Aug 8 08:58:16 UTC 2025


On Thu, 7 Aug 2025 09:20:41 GMT, Afshin Zafari <azafari at openjdk.org> wrote:

>> 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

Re-approved

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

Marked as reviewed by jsjolen (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25950#pullrequestreview-3099997883


More information about the hotspot-runtime-dev mailing list