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] Resolved: (POOL-121) Provide thread name for EvcitionTimer
Date Wed, 01 Apr 2009 17:12:13 GMT

     [ https://issues.apache.org/jira/browse/POOL-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Thomas resolved POOL-121.
------------------------------

    Resolution: Fixed

Yes, there may be multiple EvictionTimers per JVM but there is only one EvictionTimer per
classloader. One EvictionTimer may be supporting multiple pools so I just appended a classloader
ID to the thread name.

> 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