RFR: 8353741: Eliminate table lookup in UUID.toString [v6]

Shaojin Wen swen at openjdk.org
Mon May 19 23:53:07 UTC 2025


> Improve the performance of UUID::toString by using Long.expand and SWAR (SIMD within a register) instead of table lookup. Eliminating the table lookup can also avoid the performance degradation problem when the cache misses.

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

  hex8 comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22928/files
  - new: https://git.openjdk.org/jdk/pull/22928/files/4e62d43c..3b94f81f

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

  Stats: 69 lines in 1 file changed: 11 ins; 5 del; 53 mod
  Patch: https://git.openjdk.org/jdk/pull/22928.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22928/head:pull/22928

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


More information about the core-libs-dev mailing list