commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Thomas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (POOL-242) Set thread name for EvictionTimer
Date Wed, 20 May 2015 06:33:59 GMT

    [ https://issues.apache.org/jira/browse/POOL-242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14551905#comment-14551905
] 

Mark Thomas commented on POOL-242:
----------------------------------

The OP just asked for naming capability. It was Michael Osipov who mentioned multiple pools.
We might have multiple use cases here.

Maybe we need to include the pool name in the logs generated by the evictor. I take the point
about them not being very useful if you can't ID the pool. If we did include the pool name,
naming the thread is less of an issue. Naming the thread is tricky since the name would effectively
be a static on the pool so how do we set it in that case? On one pool? All pools? First one
wins? Last one wins?

> Set thread name for EvictionTimer
> ---------------------------------
>
>                 Key: POOL-242
>                 URL: https://issues.apache.org/jira/browse/POOL-242
>             Project: Commons Pool
>          Issue Type: Improvement
>    Affects Versions: 1.5, 1.6, 2.0, 2.1, 2.2, 2.3
>            Reporter: Peter Plosz
>            Priority: Trivial
>             Fix For: 1.6.1, 1.5.8
>
>
> Setting up thread name for EvictionTimer makes life easier when debugging issues.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message