Simplify JSP limiter:
authorrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 29 Oct 2010 17:54:27 +0000 (17:54 +0000)
committerrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 29 Oct 2010 17:54:27 +0000 (17:54 +0000)
commitc3fcbb926f0d837f7d8c4bf00d0fb70eefa53fdd
tree029e733337a27b1c153d37736acef96c1e2b54ea
parentacc3d9556fbbc83d8f7dbd818abf9cdcb34a4046
Simplify JSP limiter:

- inline getJspForUnload
  It is only used privately and only in one place
  plus the code gets easier to understand.

- remove compilation interval check from
  background method checkUnload(). Better to run
  on every iteration of the background job.

- Do not check JSP count against the size of
  the wrapper list (jsps). Instead check against
  the queue length.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1028863 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/jasper/compiler/JspRuntimeContext.java