RFR: 8244164: AArch64: jaotc generates incorrect code for compressed OOPs with non-zero heap base
Nick Gasson
nick.gasson at arm.com
Mon May 11 07:56:23 UTC 2020
Hi,
Bug: https://bugs.openjdk.java.net/browse/JDK-8244164
Webrev: http://cr.openjdk.java.net/~ngasson/8244164/webrev.0/
On AArch64 if the VM jaotc is running in uses compressed oops with a
zero base it will not emit instructions to add/subtract the heap base
when compressing/decompressing oops. This causes a crash if the AOT'd
shared library is loaded into a VM with non-zero heap base.
Tested jtreg hotspot_all_no_apps, jdk_core with no new failures.
I've made a separate pull request for Graal [1] but I'm submitting this
here too as I want to backport to 14 and 11u and also add a jtreg
test. Not sure if this is the right process to follow?
[1] https://github.com/oracle/graal/pull/2446
--
Thanks,
Nick
More information about the hotspot-compiler-dev
mailing list