RFR: 8350518: org.openjdk.bench.java.util.TreeMapUpdate.compute fails with "java.lang.IllegalArgumentException: key out of range" [v2]

Tagir F. Valeev tvaleev at openjdk.org
Tue Feb 25 07:21:31 UTC 2025


> It appears that the benchmark was erroneous. The combination of "tailMap" mode and comparator = true didn't work correctly, as the comparator is descending. This PR changes the benchmark to use headMap instead of tailMap in comparator mode. The "tailMap" mode is renamed to "subMap". Now, all parameter combinations work correctly.

Tagir F. Valeev has updated the pull request incrementally with one additional commit since the last revision:

  Update copyright

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23744/files
  - new: https://git.openjdk.org/jdk/pull/23744/files/1cf4704a..24991c64

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/23744.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23744/head:pull/23744

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


More information about the core-libs-dev mailing list