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

Afshin Zafari azafari at openjdk.org
Fri Aug 8 09:09:23 UTC 2025


On Tue, 24 Jun 2025 07:52:38 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}

This pull request has now been integrated.

Changeset: 1b3e2311
Author:    Afshin Zafari <azafari at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1b3e23110b2262e470a8c520b977273fd6a9e8d1
Stats:     129 lines in 5 files changed: 26 ins; 25 del; 78 mod

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

Reviewed-by: jsjolen, gziemski

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

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


More information about the hotspot-runtime-dev mailing list