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:06:52 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

I think there were some difficulties due to other companies that use their own copyright headers and may choose not to update the oracle header, so we only have a basic bot check ensuring the oracle header is not malformed.

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

PR Comment: https://git.openjdk.org/jdk/pull/23744#issuecomment-2681920163


More information about the core-libs-dev mailing list