RFR: 8255414: Ensure OS functions always report to NMT
Johan Sjölen
jsjolen at openjdk.org
Tue Mar 21 09:55:00 UTC 2023
On Thu, 2 Mar 2023 14:05:14 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:
> Hi,
>
> This PR attempts to enforce the convention that:
>
> 1. Public `os` functions report to NMT
> 2. `pd_` prefixed functions do not report to NMT
> 3. Public `os` functions call into `pd_`-prefixed functions to do the actual work.
>
> This is a convention that has been only partially enforced, leading to some difficulties. For example, it's easy for double-accounting to NMT can occur if it's not clear what the `pd_`-prefixed functions do and do not do.
Hi! We've had no more opinions on this, so I'm closing it.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/12832#issuecomment-1477543438
More information about the hotspot-runtime-dev
mailing list