Request for review:7133260:Remove -Xaprof and the usage of Klass:_alloc_count and ArrayKlass::_alloc_size

Jiangli Zhou jiangli.zhou at oracle.com
Wed Jun 5 08:49:40 PDT 2013


On 06/04/2013 07:15 PM, Jiangli Zhou wrote:
> Hi,
>
> Please review following change for 7133260.
>
>   http://ccc.us.oracle.com/7133260

Here is correct webrev link: 
http://cr.openjdk.java.net/~jiangli/7133260/webrev.00/.

Thanks,
Jiangli

>
> In JDK8, -Xaprof support is outdated and broken. A new feature, 
> GC.class_stats command has been added to jcmd in JDK8. It provides 
> detailed class metadata memory statistics information. -Xaprof uses 
> Klass:_alloc_count and ArrayKlass::_alloc_size. Removing -Xaprof and 
> related fields would save 4bytes per class and 8bytes per array class. 
> Please see more information in the CCC request: 
> http://ccc.us.oracle.com/7133260.
>
> Tested with JPTR and vm.quick.testlist.
>
> Thanks,
> Jiangli



More information about the hotspot-runtime-dev mailing list