commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Bollinger (JIRA)" <j...@apache.org>
Subject [jira] Commented: (POOL-121) Provide thread name for EvcitionTimer
Date Thu, 16 Apr 2009 19:18:14 GMT

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

John Bollinger commented on POOL-121:
-------------------------------------

It looks like the fix for this issue (SVN revision 760963) broke compatibility with Java 1.4:
it relies on a constructor for java.util.Timer that was added in Java 5.  Is that intentional?

> 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