hg: jdk/jdk: 8196207: Inefficient ArrayList.subList().toArray()

martinrb at google.com martinrb at google.com
Tue Jan 30 19:32:54 UTC 2018


Changeset: e3dcdd73a549
Author:    dl
Date:      2018-01-30 11:08 -0800
URL:       http://hg.openjdk.java.net/jdk/jdk/rev/e3dcdd73a549

8196207: Inefficient ArrayList.subList().toArray()
Reviewed-by: martin, psandoz, jrose, redestad
Contributed-by: Sergei Tsypanov <sergei.tsypanov at yandex.ru>

! src/java.base/share/classes/java/util/ArrayList.java
! test/jdk/java/util/ArrayList/IteratorMicroBenchmark.java
! test/jdk/java/util/Collection/IteratorMicroBenchmark.java



More information about the jdk-all-changes mailing list