Integrated: 8350567: NMT: update VMATree::register_mapping to copy the existing tag of the region

Afshin Zafari azafari at openjdk.org
Mon Mar 3 15:43:27 UTC 2025


On Tue, 25 Feb 2025 10:01:17 GMT, Afshin Zafari <azafari at openjdk.org> wrote:

> When committing a sub-region (SR) in the middle of a reserved region (RR), we need to decide on the MemTag. To find the correct tag, we had to find the RR base and take the tag and use it for SR.
> With this PR, there will be no need to find the RR base and the tag of the previous region of SR can be copied to the SR.
> 
> Tests:
> linux-x64-debug, gtest:NMT*, runtime/NMT

This pull request has now been integrated.

Changeset: 4a51c61b
Author:    Afshin Zafari <azafari at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4a51c61b2cfa396dace2ca21d819b5f363c9b6b5
Stats:     17 lines in 2 files changed: 16 ins; 0 del; 1 mod

8350567: NMT: update VMATree::register_mapping to copy the existing tag of the region

Reviewed-by: jsjolen, stuefe

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

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


More information about the hotspot-runtime-dev mailing list