[aarch64-port-dev ] [URGENT] RFR (XS): Adjust code stub sizes for Shenandoah and future backports

Andrew John Hughes gnu.andrew at redhat.com
Tue Jun 18 20:41:54 UTC 2019



On 18/06/2019 20:27, Aleksey Shipilev wrote:
> http://cr.openjdk.java.net/~shade/shenandoah/8u-codestub-sizes/webrev.01/
> 
> This is the unnumbered fix, because it is specific to Shenandoah 8u. I prefer to fix it right in
> integration forest to unblock testing. Current testing shows that Windows x86_64 fastdebug build
> cannot start with -XX:+UseShenandoahGC, because code stubs are too small to fit Shenandoah code. It
> is enough to fit the same code on Linux, though.
> 
> So, we need to adjust it. Upstream code made multiple adjustments over the years, and I would prefer
> not to second-guess that, and just pick up the values from current jdk/jdk:
>   http://hg.openjdk.java.net/jdk/jdk/file/17f24c0e2f01/src/hotspot/cpu/x86/stubRoutines_x86.hpp#l34
> 
> http://hg.openjdk.java.net/jdk/jdk/file/17f24c0e2f01/src/hotspot/cpu/aarch64/stubRoutines_aarch64.hpp#l42
> 
> Testing: Shenandoah tests on {x86_64} x {Linux, Windows} x {release, fastdebug, slowdebug}
> 

Can this not be made conditional on Shenandoah being enabled? I'm wary
of us diverging from upstream here.

Thanks,
-- 
Andrew :)

Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222
https://keybase.io/gnu_andrew



More information about the aarch64-port-dev mailing list