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

            Bug ID: 66524
           Summary: resource cache eviction is MRU not LRU
           Product: Tomcat 9
           Version: 9.0.73
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: -----

Cache.java evicts items using "MRU except we wont evict items last accessed
within 5s".

The comments indicate that LRU was intended.

The fix is simple, just remove the ".reverse()" from this line.

https://github.com/apache/tomcat/blob/main/java/org/apache/catalina/webresources/Cache.java#L211

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to