[jboss-cvs] JBossAS SVN: r102831 - branches/JBPAPP_4_2_0_GA_CP/tomcat/src/main/org/jboss/web/tomcat/service/session.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Mar 23 18:04:56 EDT 2010
Author: dereed
Date: 2010-03-23 18:04:56 -0400 (Tue, 23 Mar 2010)
New Revision: 102831
Modified:
branches/JBPAPP_4_2_0_GA_CP/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossCacheManager.java
Log:
[JBPAPP-2928] Port leak fix from JBPAPP-2929
Modified: branches/JBPAPP_4_2_0_GA_CP/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossCacheManager.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossCacheManager.java 2010-03-23 22:04:09 UTC (rev 102830)
+++ branches/JBPAPP_4_2_0_GA_CP/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossCacheManager.java 2010-03-23 22:04:56 UTC (rev 102831)
@@ -1140,6 +1140,14 @@
log_.debug("loadSession(): session " + realId +
" not found in distributed cache");
}
+
+ if (initialLoad)
+ {
+ // The session is now in the regular map, or the session
+ // doesn't exist in the distributed cache. either way
+ // it's now safe to stop tracking this embryonic session
+ embryonicSessions.remove(realId);
+ }
}
return session;
More information about the jboss-cvs-commits
mailing list