Integrated: 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 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

This pull request has now been integrated.

Changeset: 32d410a1
Author:    Thomas Stuefe <stuefe at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/32d410a1af65f12f5b27f3685e1e803d876816e8
Stats:     41 lines in 1 file changed: 10 ins; 23 del; 8 mod

8290868: NMT: MallocSiteTable statistics improvements

Reviewed-by: zgu, lucy

-------------

PR: https://git.openjdk.org/jdk/pull/9611


More information about the hotspot-runtime-dev mailing list