tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49730] Race condition in StandardThreadExecutor : requests are sometimes enqueued instead of creating new threads
Date Sat, 02 Oct 2010 19:24:56 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49730

--- Comment #5 from Konstantin Kolinko <knst.kolinko@gmail.com> 2010-10-02 15:24:51
EDT ---
Regarding TC7:
1) Why StandardThreadExecutor in TC7 was not patched? Can it be removed, or
should it be patched by applying TC6 patch to TC7?

2) (unrelated issue) Apparently there is a bug in catch (InterruptedException
x) block in ThreadPoolExecutor.execute(..) in TC7:
      s/Thread.interrupted()/Thread.currentThread().interrupt()
For reference:
http://www.ibm.com/developerworks/java/library/j-jtp05236.html

Regarding TC6 and TC7 patches:
2) I would prefer using a finally block to decrement the counter on errors.

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message