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