RFR: 8371778: Make MallocMemorySummary::_snapshot a DeferredStatic
Afshin Zafari
azafari at openjdk.org
Tue Nov 18 13:09:12 UTC 2025
On Wed, 12 Nov 2025 07:48:38 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:
> Hi,
>
> This PR wraps the` MallocMemorySummary::_snapshot` in a `DeferredStatic`. This is not strictly necessary as MallocMemorySnapshot does not have a non-trivial constructor, but it does give us more consistency and does act as a safe guard for future changes.
>
> Testing: GHA
Thank you for this. Looks good to me.
-------------
Marked as reviewed by azafari (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/28257#pullrequestreview-3477740722
More information about the hotspot-runtime-dev
mailing list