commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <j...@apache.org>
Subject [jira] Commented: (POOL-121) Provide thread name for EvcitionTimer
Date Mon, 04 Feb 2008 04:53:08 GMT

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

Phil Steitz commented on POOL-121:
----------------------------------

Anyone see any problems with this?  Might be safer to append this to the thread's OS-name
or somesuch.

> Provide thread name for EvcitionTimer
> -------------------------------------
>
>                 Key: POOL-121
>                 URL: https://issues.apache.org/jira/browse/POOL-121
>             Project: Commons Pool
>          Issue Type: Improvement
>    Affects Versions: 1.3, 1.4
>            Reporter: Christoph Kutzinski
>            Priority: Trivial
>             Fix For: 1.5
>
>
> When taking thread dumps and while debugging, I always like when each thread has a speaking
name. Therefore I suggest that Pool's EvictionTimer should have a name, too.
> E.g.:
> instead of
>  _timer = new Timer(true);
> use
> _timer = new Timer("commons-pool-EvictionTimer", true);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message