RFR: 8370254: Add VM_MEMORY_JAVA mmap tag to MacOS mmap calls
Nityanand Rai
duke at openjdk.org
Wed Oct 29 17:42:07 UTC 2025
On Fri, 17 Oct 2025 17:01:02 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
> Imo, be a good idea to include os/bsd/gc/z/zPhysicalMemoryBacking_bsd.cpp, which has 3 uses that should probably be marked with VM_MEMORY_JAVA. #if defined(**APPLE**) of course.
Covered ZGC direct mmap calls as well
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27868#issuecomment-3429515987
More information about the hotspot-runtime-dev
mailing list