Question about ccs reservation, CDS and aarch64 specifics

Nick Gasson nick.gasson at
Mon Apr 20 02:35:48 UTC 2020

On 04/17/20 16:47 pm, Andrew Haley wrote:
> On 4/16/20 6:51 PM, Thomas Stüfe wrote:
>> Good to know. So, zero based encoding does not have any special place in
>> your heart? 4G aligned base works just as well?
> Absolutely, yes.

There's an extra constraint: above 32G the alignment needs to be
(4 << LogKlassAlignmentInBytes)*G if the compressed klass shift is
non-zero. There's some explanation here:


More information about the hotspot-runtime-dev mailing list