RFR: 8023306 : (xs) Add replace() implementations to TreeMap

Mike Duigou mike.duigou at oracle.com
Tue Aug 20 18:54:57 UTC 2013


Paul Sandoz pointed out (again) that I let synchronized slip back into the split out patch. 

http://cr.openjdk.java.net/~mduigou/JDK-8023306/1/webrev/

Corrects this error.

Mike

On Aug 20 2013, at 11:11 , Mike Duigou wrote:

> Hello all;
> 
> This is a small changeset I have split out from the mostly unrelated JDK-8021591. This changeset adds Map.replace(key,value) and Map.replace(key,oldValue,newValue) implementations to TreeMap that are more efficient that that provided by the defaults in Map.
> 
> webrev: http://cr.openjdk.java.net/~mduigou/JDK-8023306/0/webrev/
> 
> Cheers,
> 
> Mike
> 
> 




More information about the core-libs-dev mailing list