Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Done
-
None
-
None
Description
expect to work like tomcat thread pool
but jdk standard thread pool's behavior is different:
JDK standard thread pool rules:
- 1.use core threads.
- 2.if all core threads are busy, then queue the request.
- 3.if queue is full, then create new thread util reach the limit of max threads.
- 4.if queue is full, and threads count is max, then reject the request.
to do what we want, need to lock the executor several times for one task, that's too bad
so only make compatible to old version temporary
Attachments
Issue Links
- links to