commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Updated: (POOL-6) [pool] Number of tested objects in eviction runs of GenericObjectPool
Date Fri, 14 Jul 2006 04:38:35 GMT
     [ http://issues.apache.org/jira/browse/POOL-6?page=all ]

Henri Yandell updated POOL-6:
-----------------------------

    Bugzilla Id:   (was: 33265)
    Fix Version: 1.3

> [pool] Number of tested objects in eviction runs of GenericObjectPool
> ---------------------------------------------------------------------
>
>          Key: POOL-6
>          URL: http://issues.apache.org/jira/browse/POOL-6
>      Project: Commons Pool
>         Type: Bug

>     Versions: 1.2
>  Environment: Operating System: All
> Platform: All
>     Reporter: Thomas Schürger
>     Priority: Minor
>      Fix For: 1.3
>  Attachments: GenericObjectPool-maxNumTestsPerEvictionRun.patch
>
> Hi,
> if numTestsPerEvictionRun is set to n and there are less than n idle objects in
> the pool, the evictor thread will still make n tests on these objects in a
> round-robin manner, i.e. idle objects can be tested more than once per eviction
> run. As this also includes validity tests if testWhileIdle is enbabled and
> validity tests may be time-consuming, this is a rather unwanted behavior.
> Instead of testing getNumTests() objects, the pool should test
> min(_pool.size(),getNumTests()) objects per eviction run.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message