RFR: 8331858: [nmt] VM.native_memory statistics should work in summary mode [v2]
Johan Sjölen
jsjolen at openjdk.org
Sun May 12 17:38:02 UTC 2024
On Fri, 10 May 2024 15:53:19 GMT, Sonia Zaldana Calles <szaldana at openjdk.org> wrote:
>> Hi all,
>>
>> This PR addresses [8331858](https://bugs.openjdk.org/browse/JDK-8331858) enabling the "statistics" sub-option for jcmd VM.native_memory.
>>
>> Since [8256844](https://bugs.openjdk.org/browse/JDK-8256844), preinit state gets printed under "statistics" and this is also relevant for the summary state.
>>
>> Testing:
>> - [x] Added test case passes.
>>
>> Thanks!
>
> Sonia Zaldana Calles has updated the pull request incrementally with one additional commit since the last revision:
>
> Addressing feedback
src/hotspot/share/nmt/memTracker.cpp line 160:
> 158: out->cr();
> 159: }
> 160: out->print_cr("Preinit state:");
Is there any functional difference here or is it only changing indentation?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19179#discussion_r1597680756
More information about the hotspot-runtime-dev
mailing list