Hey Rickard,

> > > and just lock on the context since at least it seems
> > > that it does
> > > release locks on the object it has.
> > > ideas?  (btw the test code is in jbosstest and is called 
> "locktest"
> >
> > I'd suggest to use the instance cache object also for wait 
> and notifyAll
> > instead of the context. Since the logic for wait and 
> notifyAll is in the
> > int'rs and they all can access the container, they all can 
> access the
> > instance cache.
> 
> Works but would be too slow. Too many threads waking up to 
> see "oh, it was
> not for me". Nah, the semaphore stuff I submitted should work better.

You're right, as usual !

I implemented the solution you suggested and it works smoothly :-))

Marc, Sebastien, any result / comment from you ?

BTW, I've also implemented the EJX part for the new caches, and I'm ready to
commit it. With this it comes also the standardjboss.xml where I put as
standard cache policy the NoPassivationCachePolicy. Is this OK for you ?

Regards,

Simon

Reply via email to