"dward" wrote:
I don't see how using ConcurrentHashMap would be any different than Collections.synchronizedMap(new HashMap()). So it would still open the door for multiple calls to request.getLocalName().
"dward" wrote:
I also don't want to use oswego classes if not necessary.
Useful information for this discussion.
http://www.cs.umd.edu/users/pugh/java/memoryModel/jsr-133-faq.html
"dward" wrote:
I don't see how using ConcurrentHashMap would be any different than Collections.synchronizedMap(new HashMap())
Good read Kev; thanks. I'll use ConcurrentHashMap and check it in.
Committed to https://svn.jboss.org/repos/labs/labs/jbossesb/workspace/performance/perf2 workspace: revision 30550.
Merged and Committed to https://svn.jboss.org/repos/labs/labs/jbossesb/branches/JBESB_4_7_CP branch: revision 30551.