mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
Comment only.
This commit is contained in:
1 parent
6a3c5f7f23
commit
2ef5a7cd43
1 file changed
+1
@@ -448,6 +448,7 @@ public class JenkinsRule implements TestRule, MethodRule, RootAction {
|
||||
// but because there's no explicit dispose method on ClassLoader, they won't get GC-ed until
|
||||
// at some later point, leading to possible file descriptor overflow. So encourage GC now.
|
||||
// see http://bugs.sun.com/view_bug.do?bug_id=4950148
|
||||
// XXX use URLClassLoader.close() in Java 7
|
||||
System.gc();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user