[8u] RFR 8214687: Optimize Collections.nCopies().hashCode() and equals()

Hohensee, Paul hohensee at amazon.com
Mon Jul 15 17:22:44 UTC 2019


I'd change the copyright on NCopies.java to 2019 since you've changed the patch, but I'm not certain of the rule on that. Otherwise, looks good.

Paul

On 7/15/19, 1:29 AM, "jdk8u-dev on behalf of Aleksey Shipilev" <jdk8u-dev-bounces at openjdk.java.net on behalf of shade at redhat.com> wrote:

    On 7/2/19 9:53 PM, Aleksey Shipilev wrote:
    > Original RFE:
    >   https://bugs.openjdk.java.net/browse/JDK-8214687
    >   https://hg.openjdk.java.net/jdk/jdk/rev/cfceb4df2499
    > 
    > Patch applies with usual reshufflings. But the test parts require touchups to compile and run on 8u:
    > type inference is not that rich, and there is no Objects.checkIndex. 8u webrev:
    >   https://cr.openjdk.java.net/~shade/8214687/webrev.8u.01/
    > 
    > Testing: tier1-like suite, new test
    
    Friendly reminder.
    
    -- 
    Thanks,
    -Aleksey
    
    



More information about the jdk8u-dev mailing list