alibaba/Sentinel

Replace deprecated concurrentlinkedhashmap-lru with Caffeine in param-flow-extension

Open

#2,871 opened on Sep 8, 2022

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Java (23,109 stars) (8,150 forks)batch import
good first issuekind/enhancement

Description

Issue Description

Type: bug report or feature request

Describe what happened (or what feature you want)

concurrentlinkedhashmap-lru 已经很老了,没有维护。

Describe what you expected to happen

是不是可以考虑下使用Caffeine 替换。

Caffeine is the Java 8 successor to ConcurrentLinkedHashMap and Guava's cache. Projects should prefer Caffeine and migrate when requiring JDK8 or higher. The previous caching projects are supported in maintenance mode.

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

Anything else we need to know?

Contributor guide