RFR: 8359424: Eliminate table lookup in Integer/Long toHexString [v5]

Shaojin Wen swen at openjdk.org
Wed Dec 24 09:01:46 UTC 2025


> In PR #22928, UUID introduced long-based vectorized hexadecimal to string conversion, which can also be used in Integer::toHexString and Long::toHexString to eliminate table lookups. The benefit of eliminating table lookups is that the performance is better when cache misses occur.

Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:

  fix merge error

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22942/files
  - new: https://git.openjdk.org/jdk/pull/22942/files/bcb7d4be..9d2e6269

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22942&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22942&range=03-04

  Stats: 5 lines in 2 files changed: 0 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/22942.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22942/head:pull/22942

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


More information about the core-libs-dev mailing list