RFR: JDK-8260571: Add PrintMetaspaceStatistics to print metaspace statistics upon VM exit [v2]

Thomas Stuefe stuefe at openjdk.java.net
Tue Feb 2 07:16:55 UTC 2021


On Tue, 2 Feb 2021 07:12:23 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> Marked as reviewed by iklam (Reviewer).
>
> Coleen, Ioi, thank you!
> I'll rename the switch to `PrintMetaspaceStatisticsAtExit` as Coleen requested and then push.
> 
>> Looks good to me.
> 
> Thanks, Coleen!

> > I agree with Thomas. I think there's a way to make UL not print the decorations with these PrintAtExit, but otherwise the decorations are noisy. We purposefully didn't not translate the options that print a lot of output to UL because the decorations and the timestamps aren't interesting. eg. PrintSystemDictionaryAtExit or PrintInterpreter. If someone wants to change this so that these options suppress decorations and translate to UL, we can change metspace printing at exit also. As a diagnostic flag, there isn't any promise of it's longevity in the code. ie. we can change it if we want.
> 
> OK, I withdraw my objection.

Thanks!

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

PR: https://git.openjdk.java.net/jdk/pull/2283


More information about the hotspot-runtime-dev mailing list