I’m in favour for changing the thread names to the format "Apache Sling - <pool 
name> -Thread #<counter>”
Konrad


> On 01 Dec 2015, at 10:15, Julian Sedding <jsedd...@gmail.com> wrote:
> 
> Hi all
> 
> Sling Thread Support (aka Commons Threads) uses an underlying
> java.util.concurrent.ThreadPoolExecutor. By default this leads to
> thread names like "pool-1-thread-5".
> 
> I was wondering whether we should change the thread names so it is
> clear they are being managed by Sling Thread Support. Also, since
> Pools can be named, it may make sense to include the pool name. I
> imagine something along the lines of "Apache Sling - <pool name> -
> Thread #<counter>", e.g. "Apache Sling - Job Thread Pool - Thread #3".
> 
> What do others think? Any objections? If there is agreement, I'll
> create a JIRA issue and go ahead with the implementation.
> 
> Regards
> Julian

Reply via email to