RFR: 8325679: Optimize ArrayList subList sort [v5]
Chen Liang
liach at openjdk.org
Wed Sep 4 12:30:24 UTC 2024
On Wed, 4 Sep 2024 08:12:55 GMT, Attila Szegedi <attila at openjdk.org> wrote:
>> Somewhat surprisingly, `ArrayList$Sublist.sort()` is not specialized and will thus fall back to slower default method of `List.sort()` instead of sorting a range of the array in-place in its backing root `ArrayList`.
>>
>> This doesn't change observable behavior, so haven't added tests, and `tier1` tests still all pass except for `test/jdk/java/util/Locale/LocaleProvidersFormat.java` which also currently fails on master too on the machine I tested on.
>
> Attila Szegedi has updated the pull request incrementally with one additional commit since the last revision:
>
> Updated copyright years and added a bug id
Thanks for the updates!
-------------
Marked as reviewed by liach (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/17818#pullrequestreview-2280014817
More information about the core-libs-dev
mailing list