Details
-
Type:
Enhancement
-
Status:
Closed
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: Release 1.3
-
Component/s: None
-
Labels:None
-
Approval:Ok
Description
It���s a best practice to name the threads in an executor thread pool with a custom ThreadFactory so that the purpose of these threads is clear in thread dumps and other runtime operational tools. By default these threads are currently called something like "pool-%d-thread-%d", and this is what you���ll see for the agent send thread pools.
I created a patch to do this with thread names like:
- clojure-agent-send-pool-%d ��� should be fixed # of threads
- clojure-agent-send-off-pool-%d ��� will be added and removed over time
The patch is attached and I have a signed CA.
Converted from http://www.assembla.com/spaces/clojure/tickets/378
Attachments:
agent-name.diff - https://www.assembla.com/spaces/clojure/documents/bLEf-eC8Sr373-eJe5cbLA/download/bLEf-eC8Sr373-eJe5cbLA
0378-as-git-patch.patch - https://www.assembla.com/spaces/clojure/documents/cUhT1C1uCr35jCeJe5cbLA/download/cUhT1C1uCr35jCeJe5cbLA