RFR: 8325679: Optimize ArrayList subList sort [v4]
Chen Liang
liach at openjdk.org
Tue Jul 9 23:37:19 UTC 2024
On Mon, 19 Feb 2024 10:05:24 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:
>
> Remove test
Can you bump the copyright year of `ArrayList.java`?
Since `ListDefaults` covers your change, can you add your bugid here
https://github.com/openjdk/jdk/blob/1472124489c841642996ae984e21c533ffec8091/test/jdk/java/util/List/ListDefaults.java#L53
and bump the copyright year as well?
-------------
PR Review: https://git.openjdk.org/jdk/pull/17818#pullrequestreview-2167684628
More information about the core-libs-dev
mailing list