RFR: 8341611: [REDO] AArch64: Clean up IndOffXX type and let legitimize_address() fix out-of-range operands [v2]

Fei Gao fgao at openjdk.org
Wed Jan 8 13:54:41 UTC 2025


On Tue, 7 Jan 2025 17:11:23 GMT, Andrew Haley <aph at openjdk.org> wrote:

> > Yes, as expected, `legitimize_address` splitting is very rare. As you suggested, I compiled all of `java.base` with built `javac` and found over `700k` `load/store` generated by C2 but no `legitimize_address` splitting. Actually, no `legitimize_address` splitting happened even I did `make bootcycle-images`. From our experience, `Unsafe` APIs can generate unaligned offsets and some corner cases may generate out-of-range offsets.
> 
> Good enough for me. I made a couple of suggestions about comments.

Updated in the new commit. Thanks!

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

PR Comment: https://git.openjdk.org/jdk/pull/22862#issuecomment-2577721827


More information about the hotspot-dev mailing list