Code review request: 8005936,PrintNMTStatistics doesn't work for normal JVM exit

Zhengyu Gu zhengyu.gu at oracle.com
Thu Jan 10 14:21:46 PST 2013


Yes, all with following VM options:

-XX:NativeMemoryTracking=detail -XX:+UnlockDiagnosticVMOptions 
-XX:+PrintNMTStatistics

Thanks,

-Zhengyu

On 1/10/2013 4:56 PM, Karen Kinnear wrote:
> Zhengyu,
>
> This looks good. Thanks for fixing this.
> I assume you ran your ute tests with the -XX:+PrintNMTStatistics flag on.
>
> thanks,
> Karen
>
> On Jan 10, 2013, at 3:57 PM, Zhengyu Gu wrote:
>
>> Moved NMT shutdown code to JVM exit handler, so guarantees that NMT memory statistics can be reported when PrintNMTStatistics flag is enabled.
>>
>> webrev: http://cr.openjdk.java.net/~zgu/8005936/webrev.00/
>>
>> Tests:
>>
>> 1. JPRT tests
>> 2. UTE vm.quick.testlist on Windows x64, Solaris sparv9, Linux x32 and x64
>>
>>
>> Thanks,
>>
>> -Zhengyu


More information about the hotspot-dev mailing list