billbarker    02/04/04 21:50:24

  Modified:    util/java/org/apache/tomcat/util/threads Expirer.java
  Log:
  Need to make certain that expired Objects are eligable for GC.
  
  Revision  Changes    Path
  1.3       +2 -1      
jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/threads/Expirer.java
  
  Index: Expirer.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/threads/Expirer.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Expirer.java      5 Apr 2002 05:39:08 -0000       1.2
  +++ Expirer.java      5 Apr 2002 05:50:24 -0000       1.3
  @@ -169,12 +169,13 @@
        }
        for( int i=0; i< checkedCount; i++ ) {
            TimeStamp ts=checkedObjs[i];
  +         checkedObjs[i] = null;
            
            if (ts==null || !ts.isValid())
                continue;
            
            long maxInactiveInterval = ts.getMaxInactiveInterval();
  -         if( dL > 3 ) debug( "TS: " + maxInactiveInterval + " " +
  +1        if( dL > 3 ) debug( "TS: " + maxInactiveInterval + " " +
                                ts.getLastAccessedTime());
            if (maxInactiveInterval < 0)
                continue;
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to