RFR(XXS) 8190729: Adjustment to anonymous metadata space chunk allocation algorithm

Andrew Dinn adinn at redhat.com
Tue Nov 28 10:00:03 UTC 2017


On 27/11/17 19:38, Zhengyu Gu wrote:
> On 11/27/2017 01:36 PM, Thomas Stüfe wrote:
>>
>> Why do you do this only for non-class metaspace?
> 
> Cause I have yet seen any anonymous class space above 1K, I would rather
> leave them alone.

That's no surprise. An InstanceKlass is ~450 bytes plus whatever
(little) space is taken up by the oopmap, vtable and itable. So, even
two classes will likely fit into a 1K chunk and one certainly will.

regards,


Andrew Dinn
-----------
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander


More information about the hotspot-dev mailing list