cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: VERY odd exceptions...
Date Wed, 26 May 2004 08:12:14 GMT
 
Ugo Cei wrote:
> 
> Carsten Ziegeler wrote:
> > I think we have the second problem in Cocoon since our 
> first version 
> > :( I always thought about adding a counter for the 
> concurrent requests 
> > in a tree processor, but always forget about it :( Regarding
> > performance: is this a problem as the counter has to be 
> synchronized?
> 
> Whay? If the counter is a simple "int" field, you don't need 
> to synchronize access to it, or I am missing something?
> 
Sure, but it's somehow synchronized of course internally. Now I 
think to remember a problem in Cocoon.java where we counted
all active requests. I think we changed this because of performance
to only count if debug logging is turned on. That's why I 
thought about this problem. But perhaps I suffer from a weak memory :)

Carsten


Mime
View raw message