Re: FIXMEs in PersistentManagerBase

2004-12-08 Thread Jess Holle
Just a shot in the dark here, but what if: 1. We synchronize on 'session' for the bulk of the 'for' loop. 2. We make StandardSession.access() synchronized * I'd really like to avoid (2), but I don't see a really good alternative. 3. We fix the other FIXME regarding LRU by

FIXMEs in PersistentManagerBase

2004-12-08 Thread Jess Holle
I have dire need to use PersistentManager, which is experimental at this time. Looking in the source, I note 2 "FIXME" comments -- one of which seems to clearly indicate a race condition. It actually occurs twice (though the comment only occurs once) but the code in both cases looks similar to