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 [Bug?] Cocoon MRUStore not synchronized
Date Tue, 26 Mar 2002 13:52:34 GMT
Hi Team,

after investigating a little bit in some lockups I found out that
the MRUStore is not synchronized. Is this by intention?

It seems that under high load and with a little bit of luck all threads
hang in this loop in the hold() method:

while (this.mrulist.size() >= this.maxobjects) {
            /** ...ok, heapsize is reached, remove the last element... */
            this.free();
}

This is only an assumption. Anyone if this might be possible with let's say
100 concurrent threads?

Carsten

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message