RFR: 8348870: Optimization for DecimalDigits

Shaojin Wen swen at openjdk.org
Tue Jan 28 15:13:56 UTC 2025


Expand DIGITS length to 128 and eliminate array bounds checking by using & 0x7F when accessing DIGITS

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

Commit messages:
 - & 0x7f

Changes: https://git.openjdk.org/jdk/pull/23335/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23335&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8348870
  Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/23335.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23335/head:pull/23335

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


More information about the core-libs-dev mailing list