RFR: 8332122: [nmt] Totals for malloc should show total peak
Johan Sjölen
jsjolen at openjdk.org
Wed May 22 15:18:04 UTC 2024
On Tue, 21 May 2024 16:27:20 GMT, Sonia Zaldana Calles <szaldana at openjdk.org> wrote:
> Hi all,
>
> This PR addresses [8332122](https://bugs.openjdk.org/browse/JDK-8332122).
>
> With this patch, we enable printing global malloc peaks in NMT when printing summary information.
>
> Testing:
> - [x] Added test case passes.
>
> Thanks,
> Sonia
Hi Sonia.
This looks good to me, and it can also be useful for discovering fragmentation/unreleased memory in the malloc allocator. Very good.
Thank you.
-------------
Marked as reviewed by jsjolen (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/19333#pullrequestreview-2071595237
More information about the hotspot-runtime-dev
mailing list