jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Working with JCR in highly concurrent applications
Date Fri, 22 Sep 2006 06:29:46 GMT
Hi,

On 9/22/06, Alexandru Popescu <the.mindstorm.mailinglist@gmail.com> wrote:
> On 9/22/06, Jukka Zitting <jukka.zitting@gmail.com> wrote:
> > Hmm, I've never thought about it from that angle.
>
> There are always corner scenarios that you can take advantage of ;-).

True hacker spirit! :-)

> > There are some
> > internal caches that get modified even in read-only sessions. I don't
> > think those data structures are thread-safe, so you might end up
> > corrupting the internal state.
>
> Yes, I've noticed those but I remember most of them were synched
> collections. However, I will try to recheck. If you can point some
> places upfront that would be great, and would limit my research a lot.

Check at least the CachingHierarchyManager and ItemStateReferenceCache classes.

BR,

Jukka Zitting

-- 
Yukatan - http://yukatan.fi/ - info@yukatan.fi
Software craftsmanship, JCR consulting, and Java development

Mime
View raw message