https://bz.apache.org/bugzilla/show_bug.cgi?id=61810

--- Comment #6 from Konstantin Kolinko <knst.koli...@gmail.com> ---
> 2197  synchronized (jarFiles) {
> 2198     if (force || (jarOpenInterval > 0 && System.currentTimeMillis()
> 2199                              > (lastJarAccessed + jarOpenInterval))) {

The above lines can be additionally wrapped with "if (force || (jarOpenInterval
> 0))", to avoid wasting time on "synchronized (jarFiles)" when jarOpenInterval
is negative (the jar closing feature is turned off).

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to