RFR: JDK-8290868: NMT: MallocSiteTable statistics improvements
Thomas Stuefe
stuefe at openjdk.org
Sat Jul 30 13:07:00 UTC 2022
On Fri, 22 Jul 2022 19:03:25 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:
>> Smallish improvement/simplification for the MallocSiteTable statistics.
>>
>> Instead of printing the full chain length distribution, which is not very helpful, we now print number of empty slots, medium bucket length, and max. bucket chain length. As a bonus, coding gets simpler.
>>
>> Looks like this now:
>>
>> thomas at starfish:~$ jcmd spring-petclinic VM.native_memory statistics
>> 70863:
>> Native Memory Tracking Statistics:
>> ...
>>
>> Bucket chain length distribution:
>> unused: 1
>> longest: 15
>> median: 6
>
> Marked as reviewed by zgu (Reviewer).
Thanks @zhengyu123 and @RealLucy.
-------------
PR: https://git.openjdk.org/jdk/pull/9611
More information about the hotspot-runtime-dev
mailing list