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

Andrew Haley aph at openjdk.java.net
Tue Jan 11 17:21:06 UTC 2022


On Tue, 11 Jan 2022 17:04:56 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> There are too many overloads. I don't know why long long overloads didn't cause ambiguity but if there's any conversion needed, it's ambiguous.
>> Address's _offset field is an int64_t, which seems wrong to assign a unint64_t into it.
>
> I added a ptrdiff_t and a unint64_t overload.  The linux build is happy about that.  I'm going to push so the GHA tries the rest.

I just got a clean build with overloads for `int`,` int64_t`, and `uint64_t` offsets. That seems to be the minimum.

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

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


More information about the hotspot-dev mailing list