[infinispan-dev] StampedLock

Galder Zamarreño galder at redhat.com
Thu Oct 25 10:07:35 EDT 2012


Of the top of my head, Karsten's new async store implementation used custom non-reentrant locks, so we'd have to see if these stamped locks would bring in some improvements.

>From what I've seen in the email list, the code is still influx, so not something we need to address immediately.

On Oct 15, 2012, at 12:10 PM, Manik Surtani <manik at jboss.org> wrote:

> Interesting.  Do you see any immediate possibilities?
> 
> On 15 Oct 2012, at 10:53, Galder Zamarreño <galder at redhat.com> wrote:
> 
>> FYI: http://gee.cs.oswego.edu/dl/jsr166/dist/jsr166edocs/jsr166e/StampedLock.html
>> 
>> Could some our internal locks (not requiring reentrancy) be moved to this?
>> 
>> Cheers,
>> 
>> Begin forwarded message:
>> 
>>> ------------------------------
>>> 
>>> Message: 2
>>> Date: Fri, 12 Oct 2012 10:19:42 -0400
>>> From: Doug Lea <dl at cs.oswego.edu>
>>> To: "Concurrency-interest at cs.oswego.edu"
>>> 	<Concurrency-interest at cs.oswego.edu>
>>> Subject: [concurrency-interest] StampedLock
>>> Message-ID: <507826FE.7010107 at cs.oswego.edu>
>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>> 
>>> 
>>> As promised (several months ago) an initial version of
>>> class jsr166e.StampedLock is now available. This is
>>> a combined write/read/optimistic lock that has some nice
>>> properties and good performance. For description, see
>>>  http://gee.cs.oswego.edu/dl/jsr166/dist/jsr166edocs/jsr166e/StampedLock.html
>>> And see the usual links from
>>>  http://gee.cs.oswego.edu/dl/concurrency-interest/index.html
>>> for jsr166e jars and sources.
>>> 
>>> Reports about usage experiences would be very welcome!
>>> 
>>> SequenceLock is now moved to "jsr166e.extra" and no longer
>>> a candidate for inclusion in JDK8.
>>> 
>>> -Doug
>>> 
>> 
>> 
>> --
>> Galder Zamarreño
>> galder at redhat.com
>> twitter.com/galderz
>> 
>> Project Lead, Escalante
>> http://escalante.io
>> 
>> Engineer, Infinispan
>> http://infinispan.org
>> 
>> 
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
> 
> --
> Manik Surtani
> manik at jboss.org
> twitter.com/maniksurtani
> 
> Platform Architect, JBoss Data Grid
> http://red.ht/data-grid
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev


--
Galder Zamarreño
galder at redhat.com
twitter.com/galderz

Project Lead, Escalante
http://escalante.io

Engineer, Infinispan
http://infinispan.org




More information about the infinispan-dev mailing list