Bugs item #990456, was opened at 2004-07-13 22:50
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=990456&group_id=22866

Category: JBossCache
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Arild Nilsen (arni2004)
Assigned to: Nobody/Anonymous (nobody)
Summary: Infinite loop in LRUAlgorithm

Initial Comment:
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()); 



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=990456&group_id=22866


-------------------------------------------------------
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