You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2011/06/14 00:13:35 UTC
svn commit: r1135318 - in /commons/proper/pool/trunk/src:
changes/changes.xml java/org/apache/commons/pool2/impl/EvictionTimer.java
Author: markt
Date: Mon Jun 13 22:13:35 2011
New Revision: 1135318
URL: http://svn.apache.org/viewvc?rev=1135318&view=rev
Log:
POOL-121
Provide a name for the eviction timer thread
Modified:
commons/proper/pool/trunk/src/changes/changes.xml
commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/EvictionTimer.java
Modified: commons/proper/pool/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/changes/changes.xml?rev=1135318&r1=1135317&r2=1135318&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/changes/changes.xml (original)
+++ commons/proper/pool/trunk/src/changes/changes.xml Mon Jun 13 22:13:35 2011
@@ -61,6 +61,9 @@
<action dev="markt" type="fix" issue="POOL-134">
Add the ability to specify a per call wait time when borrowing an object.
</action>
+ <action dev="markt" type="fix" issue="POOL-121">
+ Provide a name for the eviction timer thread.
+ </action>
</release>
<release version="1.5.6" date="2011-04-03" description="This is a patch release, including bugfixes only.">
<action dev="markt" type="fix" issue="POOL-179" due-to="Axel Grossmann">
Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/EvictionTimer.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/EvictionTimer.java?rev=1135318&r1=1135317&r2=1135318&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/EvictionTimer.java (original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/EvictionTimer.java Mon Jun 13 22:13:35 2011
@@ -67,7 +67,7 @@ class EvictionTimer {
try {
AccessController.doPrivileged(new PrivilegedSetTccl(
EvictionTimer.class.getClassLoader()));
- _timer = new Timer(true);
+ _timer = new Timer("commons-pool-EvictionTimer", true);
} finally {
AccessController.doPrivileged(new PrivilegedSetTccl(ccl));
}