Patches item #495959, was opened at 2001-12-21 12:23 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376687&aid=495959&group_id=22866
Category: JBossCX Group: v2.4 (stable) Status: Open Resolution: None Priority: 5 Submitted By: Richard Kilgore (richard-kilgore) Assigned to: Nobody/Anonymous (nobody) Summary: race conditions in ObjectPool Initial Comment: There are several race conditions in ObjectPool that scalability testing of my EJB application has uncovered. There may well be more, but here are fixes to a few of them. There are several places where someone has called Iterator.hasNext(), and then assumed that Iterator.next() will definitely return a non-null object, which is not true when the container is shared between multiple threads and no lock is used to coordinate them. In a couple more places, the HashMap is being copied, and without the use of the resizeLock the copy can collide with an add or remove, causing a ConcurrentModificationException to be thrown. This patch should fix bug # 476565, and potentially bug # 478882 as well. - rick ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376687&aid=495959&group_id=22866 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
