RFR: 8248404: AArch64: Remove uses of long and unsigned long [v4]

Coleen Phillimore coleenp at openjdk.java.net
Tue Jan 11 16:55:27 UTC 2022


On Tue, 11 Jan 2022 16:47:13 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> All of this may seem tedious and pedantic, but we have had failures in production caused by stack pointer offsets exceeding the 12-bit range of a STR instruction.
>
> Yes, I agree and didn't really know how to fix it so it would compile (if it actually compiles now) and not be UB.  I'm close to giving up!  Thanks for the code change.

It does seem pedantic which makes it really difficult, but it's important to get this right.  These kinds of bugs are horrible to debug.

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

PR: https://git.openjdk.java.net/jdk/pull/7023


More information about the hotspot-dev mailing list