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

Chris Hegarty chris.hegarty at oracle.com
Tue Aug 20 18:58:53 UTC 2013


On 08/20/2013 07:54 PM, Mike Duigou wrote:
> 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/

Yes, the sycn free versions look better.

-Chris.

>
> 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