Improve Jsp limiter:
authorrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 29 Oct 2010 17:41:05 +0000 (17:41 +0000)
committerrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 29 Oct 2010 17:41:05 +0000 (17:41 +0000)
commit08da0d96ad44804037b38718dbc5e91078ae069c
treec48530f32eb34b2349dbd5a4d02104ebadda6c9f
parent78a2565b7b7963c886451d3d9a932eda18604f52
Improve Jsp limiter:

- Under high load entries removed from the jspQueue
  were already re-added via moveFirst by some other
  concurrent request, before the JspWrapper was
  unregistered. Add "valid" field to the Entry
  object to mark as invalid during removal.

- Improve comment about thread-safetyness and add
  comment about the new "valid" field.

- Add new getSize(). Will be used soon.

- Reorder getters and setters of Entry.

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