jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: Inconsistent locking in TreeImpl.Children?
Date Tue, 28 Aug 2012 15:53:27 GMT

On Tue, Aug 28, 2012 at 5:37 PM, Marcel Reutegger <mreutegg@adobe.com> wrote:
> I'm wondering if locking is missing there or if it is even needed.

IIRC we didn't come to a final consensus on this yet, but IMO we
shouldn't need to worry about thread-safety in TreeImpl and friends.
Different threads should each use their own instances or alternatively
explicitly synchronize access.


Jukka Zitting

View raw message