[Opensymphony-oscache] Error in mass concurrence!

hgwnet <[email protected]>
Newsgroups gmane.comp.java.open-symphony.os-cache
Message-ID <16581309.1113476582092.JavaMail.os-j2ee@opensymphony01.contegix.com>
I'v solved the issue,just set "synchronized" for method getFrom().

In my testing cir.,I set 100 Threads to reading/puting/removing 1000 objects,so,I can say the problem occurs by chance.Just putting syn tag ok.

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=1556&messageID=4764#4764
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.