You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by David Van Couvering <da...@vancouvering.com> on 2007/05/17 06:31:58 UTC

Fwd: Lock-free HashMap

Something that may be of interest to Derby as well...

---------- Forwarded message ----------
From: Craig L Russell <Cr...@sun.com>
Date: May 16, 2007 9:21 PM
Subject: Fwd: Lock-free HashMap
To: open-jpa-dev@incubator.apache.org


Don't know if anyone caught Cliff's preso at Java One...

Anyone want to take a look at the new HashMap?

Craig

Begin forwarded message:

> From: Kin-man Chung
> Date: May 15, 2007 11:24:38 AM PDT
> Subject: Lock-free HashMap
>
> Cliff Click talked about his lock-free HashMap at JavaOne, and
> demonstrated its superior scalability over ConcurrentHashMap.
> The source is available at
>
>   http://sourceforge.net/projects/high-scale-lib
>
> We should check this out and see if it can be used in Glassfish to
> boost the spec numbers.
>
>   -Kin-man
>

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!

Re: Fwd: Lock-free HashMap

Posted by Knut Anders Hatlen <Kn...@Sun.COM>.
David Van Couvering <da...@vancouvering.com> writes:

> Something that may be of interest to Derby as well...

Thanks for the link, David! It looks interesting. Derby already uses
ConcurrentHashMap in the lock manager, so it should be relatively easy
to plug in a lock-free HashMap instead, I think. I'll see if I can find
time to test it out.

What would be really interesting would be if we could rewrite more of
the globally shared HashMaps in Derby (buffer manager and transaction
table come to mind) to use ConcurrentMap and provide a mechanism to
enable users to choose which implementation to use. By default, Derby
would use ConcurrentHashMap which is part of the JDK, and with a
property the users could specify that they wanted Cliff's
implementation (or someone else's).

> ---------- Forwarded message ----------
> From: Craig L Russell <Cr...@sun.com>
> Date: May 16, 2007 9:21 PM
> Subject: Fwd: Lock-free HashMap
> To: open-jpa-dev@incubator.apache.org
>
>
> Don't know if anyone caught Cliff's preso at Java One...
>
> Anyone want to take a look at the new HashMap?
>
> Craig
>
> Begin forwarded message:
>
>> From: Kin-man Chung
>> Date: May 15, 2007 11:24:38 AM PDT
>> Subject: Lock-free HashMap
>>
>> Cliff Click talked about his lock-free HashMap at JavaOne, and
>> demonstrated its superior scalability over ConcurrentHashMap.
>> The source is available at
>>
>>   http://sourceforge.net/projects/high-scale-lib
>>
>> We should check this out and see if it can be used in Glassfish to
>> boost the spec numbers.
>>
>>   -Kin-man
>>
>
> Craig Russell
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> 408 276-5638 mailto:Craig.Russell@sun.com
> P.S. A good JDO? O, Gasp!

-- 
Knut Anders