https://issues.apache.org/bugzilla/show_bug.cgi?id=46264

--- Comment #10 from Konstantin Kolinko <knst.koli...@gmail.com> 2011-10-11 
13:48:19 UTC ---
(In reply to comment #9)

+        // Zero == Runtime.getRuntime().availableProcessors()
+        // -ve  == Runtime.getRuntime().availableProcessors() - value
+        // These two are the same
+        result = Runtime.getRuntime().availableProcessors() - result;

result is negative, so it gets more threads than processors?

You would want "+ result" here and "+ value" in the comment and in docs.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to