On Thu, 2 Mar 2023 20:16:35 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:
> `LinkedList` is used as value in > `com.sun.jmx.mbeanserver.Introspector.SimpleIntrospector#cache` > It's created, filled (with `add`) and then iterated. No removes from the head > or something like this. `ArrayList` should be preferred as more efficient and > widely used collection. > Also I've done some related code cleaned: > 1. removed redundand `if` from `SoftReference` value check > 2. fixed a typo in javadoc Looks good to me 8-) ------------- Marked as reviewed by kevinw (Committer). PR: https://git.openjdk.org/jdk/pull/12839