RFR: 8354803: ALL_64_BITS is the same across posix platforms

David Holmes dholmes at openjdk.org
Thu Apr 17 07:56:39 UTC 2025


On Thu, 17 Apr 2025 07:28:23 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> We have quite a lot of duplication of ALL_64_BITS
> #define ALL_64_BITS CONST64(0xFFFFFFFFFFFFFFFF)
> across posix platforms but it is the same for these platforms so it could be moved to a central place.

Although the Windows version is expressed differently, this is surely the same thing on all platforms and so could go into global definitions - perhaps as a constant rather than a preprocessor define.

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

PR Comment: https://git.openjdk.org/jdk/pull/24715#issuecomment-2812093784


More information about the hotspot-runtime-dev mailing list