commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryce Alcock (JIRA)" <j...@apache.org>
Subject [jira] Commented: (POOL-121) Provide thread name for EvcitionTimer
Date Thu, 26 Jun 2008 15:43:45 GMT

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

Bryce Alcock commented on POOL-121:
-----------------------------------

Can you have multiple Timers (Eviction Timers) in the same JVM?

If so can the name be dynamic to reflect it's Pool Instance?
Also, if you know prior to the thread being created, it would be cool to
code its run period (just a thought)



> 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