We experience that the LRUAlgorithm goes into an infinite loop. 

The problem seems to be the following code:

(code snippet from  removeFromQueue)

        ne.getPrevious().setNext(ne.getPrevious());
        ne.getNext().setPrevious(ne.getNext());

causing a loop in the linked list. my guess is that this will do better: 

        ne.getPrevious().setNext(ne.getNext());
        ne.getNext().setPrevious(ne.getPrevious());




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840742#3840742

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840742


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to