spring-framework/spring-core
Brian Clozel 39536acf9f Fix potential leak in MimeTypeUtils LRUCache
Prior to this commit, the `MimeTypeUtils` LRUCache would maintain a
queue to track least recently used cached values. In some cases,
concurrent access could create more entries in that unbounded queue than
expected and spend a significant amount of time removing entries in that
queue (i.e. iterating over a long list of elements).

This commit ensures that recently used entries are only added to the
queue if they've been removed by the current thread, in case of
concurrent access.

Fixes gh-24886
2020-04-09 15:38:01 +02:00
..
kotlin-coroutines Refine Coroutines annotated controller support 2019-11-22 14:13:17 +01:00
src Fix potential leak in MimeTypeUtils LRUCache 2020-04-09 15:38:01 +02:00
spring-core.gradle BlockHoundIntegration for spring-core 2020-02-24 17:19:32 +00:00