I have found !

In LRUMemoryCache.java, in the verifyCache() method, for an unknown reson,
isDebugEnabled() is returning true. So, each time i call get() this method
is call and is verifying every element in the cache ... By modifying
verifyCache (if (true) return;) I have improved the speed as fast as the
hashtable.

Does anyone know what can enabled the debug mode ? Or if it is possible to
force the debug mode to false ?

Thanks.

JMS.

-----Original Message-----
From: Spaggiari, Jean-Marc [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 6:51 PM
To: '[EMAIL PROTECTED]'
Subject: Re: Is JCS slow ?


Running the same test as standalone in a main :

Avant le test
Tue Jan 20 18:47:30 EST 2004
Tue Jan 20 18:47:30 EST 2004
Tue Jan 20 18:47:30 EST 2004
Apres le test

:((( Now it's sure, it come from JBoss, but why and where ? :(


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to