RFR: 8349580: Do not use address in MemTracker top level functions
Thomas Stuefe
stuefe at openjdk.org
Mon Feb 10 14:30:29 UTC 2025
On Thu, 6 Feb 2025 19:11:09 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:
> Hi,
>
> Please consider this trivial patch. Note that this gives us consistency with `reserve_memory`.
>
> ```c++
> static inline void record_virtual_memory_reserve(void* addr, size_t size, /* ... */);
>
>
> Thanks.
We use `address` in most other parts of the JVM for "unspecified pointer". I would rather use address more consistently (also for APIs that today take "char*" for historical reasons).
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23497#issuecomment-2648163859
More information about the hotspot-runtime-dev
mailing list