RFR: 8248404: AArch64: Remove uses of long and unsigned long [v2]
Andrew Haley
aph at openjdk.java.net
Tue Jan 11 16:11:25 UTC 2022
On Tue, 11 Jan 2022 16:06:33 GMT, Andrew Haley <aph at openjdk.org> wrote:
>> 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.
Actually, thinking some more, I can see no guarantee that this `Address` is valid either. So I'm going to change my mind.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7023
More information about the hotspot-dev
mailing list