RFR: 8370254: Add VM_MEMORY_JAVA mmap tag to MacOS mmap calls
Paul Hohensee
phh at openjdk.org
Wed Oct 29 17:42:06 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.
Thanks, lgtm.
-------------
PR Review: https://git.openjdk.org/jdk/pull/27868#pullrequestreview-3358106513
Marked as reviewed by phh (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/27868#pullrequestreview-3394703360
More information about the hotspot-runtime-dev
mailing list