marcsaeg 01/10/05 11:23:43 Modified: src/share/org/apache/tomcat/util Tag: tomcat_32 SimplePool.java Log: When an object is removed from the pool the pool's reference should be removed to expedite garbage collection. Submitted by: David Schreibman <[EMAIL PROTECTED]> Revision Changes Path No revision No revision 1.3.2.2 +4 -3 jakarta-tomcat/src/share/org/apache/tomcat/util/Attic/SimplePool.java Index: SimplePool.java =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/Attic/SimplePool.java,v retrieving revision 1.3.2.1 retrieving revision 1.3.2.2 diff -u -r1.3.2.1 -r1.3.2.2 --- SimplePool.java 2001/02/28 19:21:22 1.3.2.1 +++ SimplePool.java 2001/10/05 18:23:43 1.3.2.2 @@ -1,7 +1,7 @@ /* - * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/Attic/SimplePool.java,v 1.3.2.1 2001/02/28 19:21:22 larryi Exp $ - * $Revision: 1.3.2.1 $ - * $Date: 2001/02/28 19:21:22 $ + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/Attic/SimplePool.java,v 1.3.2.2 2001/10/05 18:23:43 marcsaeg Exp $ + * $Revision: 1.3.2.2 $ + * $Date: 2001/10/05 18:23:43 $ * * ==================================================================== * @@ -118,6 +118,7 @@ synchronized( lock ) { if( current >= 0 ) { item = pool[current]; + pool[current] = null; current -= 1; } }