RFR: 8370254: Add VM_MEMORY_JAVA mmap tag to MacOS mmap calls [v7]

Johan Sjölen jsjolen at openjdk.org
Fri Nov 7 05:02:23 UTC 2025


On Fri, 7 Nov 2025 04:57:52 GMT, Nityanand Rai <duke at openjdk.org> wrote:

>> Add VM_MEMORY_JAVA tag to mmap calls in os_bsd.cpp for better memory tracking of java process on macOs
>
> Nityanand Rai has updated the pull request incrementally with one additional commit since the last revision:
> 
>   consolidate unit tests for vm memory tagging

Changes requested by jsjolen (Reviewer).

test/hotspot/gtest/runtime/test_os.cpp line 1133:

> 1131:   char* base = os::reserve_memory(size, mtTest, false);
> 1132:   ASSERT_NOT_NULL(base);
> 1133: 

Remove this change

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

PR Review: https://git.openjdk.org/jdk/pull/27868#pullrequestreview-3431645714
PR Review Comment: https://git.openjdk.org/jdk/pull/27868#discussion_r2501685500


More information about the hotspot-dev mailing list