You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2011/06/14 18:30:17 UTC

svn commit: r1135684 - /tomcat/tc6.0.x/trunk/STATUS.txt

Author: kkolinko
Date: Tue Jun 14 16:30:16 2011
New Revision: 1135684

URL: http://svn.apache.org/viewvc?rev=1135684&view=rev
Log:
vote

Modified:
    tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1135684&r1=1135683&r2=1135684&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Tue Jun 14 16:30:16 2011
@@ -113,7 +113,26 @@ PATCHES PROPOSED TO BACKPORT:
 * Add StuckThreadDetectionValve
   https://github.com/sylvainlaurent/tomcat60/commit/252334f958877221ecb2dc64ee0fd12bb77e360b
   +1: slaurent
+  +1: kkolinko: several comments are below
   -1:
+  kkolinko: To view/download this as a patch file you add ".diff" to the URL above. That is:
+  https://github.com/sylvainlaurent/tomcat60/commit/252334f958877221ecb2dc64ee0fd12bb77e360b.diff
+
+  kkolinko: Minor glitches:
+    - In mbeans-descriptors.xml:
+      - There are no properties "asyncSupported", "stateName" in TC6 version of this valve.
+    - In valve.xml:
+      - s/tomcat log/Tomcat log/ (or Apache Tomcat log)
+    - In StuckThreadDetectionValve.java:
+      - s/private class CompletedStuckThread/private static class CompletedStuckThread/
+        MonitoredThread can be made static as well.
+      - result[i] = idList.get(i); and arguments to sm.getString()
+        I'd prefer the boxing/unboxing conversion to be coded explicitly.
+      - s/new Long(/Long.valueOf(/
+      - ConcurrentHashMap: Maybe the defaults could be tuned with system properties.
+        I wonder whether ConcurrentHashMap.DEFAULT_CONCURRENCY_LEVEL which is 16 is enough.
+      - getStuckThreadIds() returns a list of ids. It might be useful to
+        have a similar method that returns Thread.getName() names.
 
 * Expose a container event for changing the session ID
   http://svn.apache.org/viewvc?view=revision&revision=1097899



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org