OK. I have fixed the performance bottleneck problem in LRUPolicy. I replaced the eviction queue from BoundLinkedQueue to BoundedBuffer. I have also increased the initial capacity of the queue. Eventually, we will externalize the initial capacity in the next full release.
I have run the example that you guys setup, now the worst case (25 seconds) is about twice as slow as the one without eviction policy turned on. So that's more reasonable. :-) I will upload the patch JBoss1_02 to the jboss site tomorrow and then announce it here. Thanks everyone for the help. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839368#3839368 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839368 ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
