Eh, I could type LRU in IDE to get that. :-)
Thanks.
But I see it uses plain HashMap to hold entries ...
From past week :-)
"adrian(a)jboss.org" wrote :
| > 1) I don't think we care about if two threads override each others info
|
| That's not the issue.
|
| A HashMap can break completely if two threads are updating
| the underlying data structures at the same time.
|
| This can then cause all sorts of weird behaviour,
| e.g. infinite loops when the broken linked list
| contains links that link to themselves
|
I'll make it optional - fixing it in the commons-core.
Till then synchronizing on access.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162086#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...