[
http://jira.jboss.com/jira/browse/JGRP-570?page=comments#action_12381157 ]
Vladimir Blagojevic commented on JGRP-570:
------------------------------------------
The best way to rename leftover short lifespan thread names is to use
java.util.concurrent.ThreadFactory. We keep ThreadFactory in a well known place
(ProtocolStack?) and then anyone who needs a Thread can create it from this factory. When
ThreadNamingPattern is sent up the stack it is applied to this ThreadFactory. No need to
chase individual threads and rename threads one by one.
Consider moving to 2.7.
Complete thread naming for all channel threads
----------------------------------------------
Key: JGRP-570
URL:
http://jira.jboss.com/jira/browse/JGRP-570
Project: JGroups
Issue Type: Feature Request
Reporter: Vladimir Blagojevic
Assigned To: Vladimir Blagojevic
Fix For: 2.6
We have improved thread naming in Jgroups 2.5 release. However, we still have threads in
protocols above TP that are named independently of TP threads - they follow different
naming pattern. We should investigate how to consistently name all threads that belong to
one channel. Should we pass ThreadNamingPattern as and event through the stack?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira