Integrated: 8345658: WB_NMTCommitMemory redundantly records an NMT tag

Stefan Karlsson stefank at openjdk.org
Wed Dec 11 11:52:41 UTC 2024


On Fri, 6 Dec 2024 10:09:02 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> This functions is called after an previous calls to WB_NMTReserveMemory and WB_NMTAttemptReserveMemoryAt, which both already registered an NMT tag. So, explicitly recording an NMT tag for this memory is redundant and slightly confusing.
> 
> The HotSpot JVM code does not record NMT tags when committing memory (except in a special case on Windows when mapping file memory).
> 
> Tested with tier1-3.

This pull request has now been integrated.

Changeset: 28268383
Author:    Stefan Karlsson <stefank at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2826838389ff0ce909289e3a804228226a2a6ab0
Stats:     2 lines in 1 file changed: 0 ins; 2 del; 0 mod

8345658: WB_NMTCommitMemory redundantly records an NMT tag

Reviewed-by: dholmes, jsjolen

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

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


More information about the hotspot-dev mailing list