hg: lambda/lambda/jdk: Fix for JDK-8010293.

paul.sandoz at oracle.com paul.sandoz at oracle.com
Mon Sep 2 03:00:10 PDT 2013

Changeset: b73937e96ae0
Author:    psandoz
Date:      2013-09-02 11:59 +0200
URL:       http://hg.openjdk.java.net/lambda/lambda/jdk/rev/b73937e96ae0

Fix for JDK-8010293.
Avoid surprising observations (e.g. # elements traversed
can reduce from previously observed) when traversing and
resizing occurs due concurrently adding new entries.
Contributed-by: Doug Lea <dl at cs.oswego.edu>, Peter Levart <peter.levart at gmail.com>, Paul Sandoz <paul.sandoz at Oracle.COM>

! src/share/classes/java/util/concurrent/ConcurrentHashMap.java
! test/java/util/concurrent/ConcurrentHashMap/toArray.java

More information about the lambda-dev mailing list