RFR: JDK-8290868: NMT: MallocSiteTable statistics improvements
Zhengyu Gu
zgu at openjdk.org
Fri Jul 22 19:07:02 UTC 2022
On Fri, 22 Jul 2022 09:43:19 GMT, Thomas Stuefe <stuefe 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).
-------------
PR: https://git.openjdk.org/jdk/pull/9611
More information about the hotspot-runtime-dev
mailing list