RFR: 8248404: AArch64: Remove uses of long and unsigned long [v2]
Andrew Haley
aph at openjdk.java.net
Tue Jan 11 16:11:24 UTC 2022
On Tue, 11 Jan 2022 16:00:21 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> ... because this is UB if it doesn't fit.
>
> Yes, I changed this and wasn't really sure how to fix it better. I'd love if Address had a unit64_t argument but all the callers that just passed 0 wouldn't compile. The code is like that in the x86 version. So I thought that'd be safe.
Well, I'm not convinced the x86 version is safe, really. It probably is, but the checked_cast costs nothing in production.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7023
More information about the hotspot-dev
mailing list