RFR: jsr166 jdk integration 2018-05

Claes Redestad claes.redestad at oracle.com
Fri May 11 13:45:29 UTC 2018


On 2018-05-09 20:17, Martin Buchholz wrote:
>
> 8202685: Improve ArrayList replaceAll
> http://cr.openjdk.java.net/~martin/webrevs/jdk/jsr166-integration/replaceAll/index.html 
> <http://cr.openjdk.java.net/%7Emartin/webrevs/jdk/jsr166-integration/replaceAll/index.html>
> https://bugs.openjdk.java.net/browse/JDK-8202685

This looks reasonable to me.

Removing modCount increments from replaceAll seems like the right call 
as it doesn't change the structure of the list (compare 
ArrayList#set(int, E))

Thanks!

/Claes


More information about the core-libs-dev mailing list