Request for review: 8004076: Move _max_locals and _size_of_parameters to ConstMethod for better sharing
john.r.rose at oracle.com
Mon Dec 10 15:10:51 PST 2012
On Dec 9, 2012, at 9:53 PM, Jiangli Zhou wrote:
> Hi John,
> Here is the updated webrev with Address constant change in where it's appropriate:
> I'm also double checking with jprt and runthese tests.
Yes, that's much nicer; thanks.
Has your group been considering compressing the field metadata (type FieldInfo)?
I think that, by using a variable-length byte-oriented format, we could easily cut the size of that data by more than 50%.
The initval field and the high part of the offset are almost always zero. The number of access flags configurations is very small, much smaller than 2**16. (Low entropy everywhere!) All this means they could be profitably cut out most of the time with profit, as long as the access method does not slow the VM down detectably.
I'm thinking about this because of Alexey's work on @Contended and the upcoming work on @Stable. Also, if we do field profiling we may need to add miscellaneous bits to the field metadata.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-runtime-dev