RFR: 8370254: Add VM_MEMORY_JAVA mmap tag to MacOS mmap calls [v10]
Evgeny Astigeevich
eastigeevich at openjdk.org
Mon Nov 10 18:50:51 UTC 2025
On Sat, 8 Nov 2025 00:05:38 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:
>
> remove unncessary included
test/hotspot/gtest/testutils.hpp line 54:
> 52: #ifdef __APPLE__
> 53: // Check if a memory region is tagged with VM_MEMORY_JAVA on macOS
> 54: // This function is used by multiple test files to validate BSD memory tagging
Maybe we don't "This function ..." comment line because it might be misleading. The function is used in one test only.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27868#discussion_r2511610847
More information about the hotspot-dev
mailing list