[aarch64-port-dev ] RFR: 8193266: AArch64: TestOptionsWithRanges.java SIGSEGV

Stuart Monteith stuart.monteith at linaro.org
Mon Dec 11 13:43:33 UTC 2017


I've copied and pasted the calculation for UnscaledClassSpaceMax in
use_XOR_for_compressed_class_base to match the variable of the same
name in MetaspaceShared::initialize_dumptime_shared_and_meta_spaces  -
I did this for ease of reference while we decide what to do.

I guess you're referring to this piece of code:


As far as I can tell, the parameter CompressedClassSpaceSize is ignored.

On 10 December 2017 at 09:46, Andrew Haley <aph at redhat.com> wrote:
> On 09/12/17 19:02, Andrew Haley wrote:
>
>> We could establish the convention that the shift is always zero
>> on AArch64, and then this problem would go away completely.
>
> Ahh, I just realized that this too is too simple, because we don't
> know where the metaspace is going to be, so we have to generate code
> which can run wherever the metaspace is.  It's tricky.
>
> --
> Andrew Haley
> Java Platform Lead Engineer
> Red Hat UK Ltd. <https://www.redhat.com>
> EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the aarch64-port-dev mailing list