RFR: 8341612: [BACKOUT] 8338442: AArch64: Clean up IndOffXX type and let legitimize_address() fix out-of-range operands

Andrew Haley aph at openjdk.org
Mon Oct 7 14:26:39 UTC 2024


On Mon, 7 Oct 2024 13:33:12 GMT, Fei Gao <fgao at openjdk.org> wrote:

> > The right thing to do, I think, is to make the segfault handler code a bit smarter. We'll need to go through the process again, with the original fix.
> 
> Hi @theRealAph , with the original fix, what do you think of the idea that we just skip implicit null check if we need extra lea to handle some special memory access on `aarch64`? Suppose these special memory accesses are uncommon.

That looks reasonable and conservative. An alternative would be to adjust the implicit null check relocs to point to the actual trapping load.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/21381#issuecomment-2397080494


More information about the hotspot-dev mailing list