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.
------------- Commit messages: - Fix tailMap mode Changes: https://git.openjdk.org/jdk/pull/23744/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23744&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8350518 Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 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