RFR: 8354803: ALL_64_BITS is the same across platforms [v3]

Matthias Baesken mbaesken at openjdk.org
Wed Apr 23 13:04:06 UTC 2025


> 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.
> 
> On Windows it is currently
> #define ALL_64_BITS CONST64(-1)
> but this should be the same too.

Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:

  use a const all_bits_jlong

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24715/files
  - new: https://git.openjdk.org/jdk/pull/24715/files/41c4058c..845ccb70

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24715&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24715&range=01-02

  Stats: 20 lines in 6 files changed: 3 ins; 3 del; 14 mod
  Patch: https://git.openjdk.org/jdk/pull/24715.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24715/head:pull/24715

PR: https://git.openjdk.org/jdk/pull/24715


More information about the hotspot-runtime-dev mailing list