Deprecated TagPool that may trigger memory leaks.
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 20 Jun 2011 23:02:10 +0000 (23:02 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 20 Jun 2011 23:02:10 +0000 (23:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1137815 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/jasper/runtime/PerThreadTagHandlerPool.java

index 4ce4684..3723e62 100644 (file)
@@ -31,7 +31,11 @@ import org.apache.jasper.Constants;
  *
  * @author Jan Luehe
  * @author Costin Manolache
+ * 
+ * @deprecated Use of ThreadLocals is likely to trigger memory leaks. Use
+ *             TagHandlerPool. Will be removed in Tomcat 8.0.x.
  */
+@Deprecated
 public class PerThreadTagHandlerPool extends TagHandlerPool {
 
     private int maxSize;