RFR: 8350518: org.openjdk.bench.java.util.TreeMapUpdate.compute fails with "java.lang.IllegalArgumentException: key out of range" [v2]
Chen Liang
liach at openjdk.org
Tue Feb 25 13:12:53 UTC 2025
On Tue, 25 Feb 2025 07:21:31 GMT, Tagir F. Valeev <tvaleev at openjdk.org> wrote:
>> 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
lgtm, maybe another collection engineer can double check.
-------------
Marked as reviewed by liach (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/23744#pullrequestreview-2641016660
More information about the core-libs-dev
mailing list