RFR: 8301342: Prefer ArrayList to LinkedList in LayoutComparator

Sergey Bylokhov serb at openjdk.org
Sun Feb 5 04:08:48 UTC 2023


On Sat, 28 Jan 2023 14:54:38 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> There is only add/iterator calls on this list. No removes from the head or something like this. Not sure why LinkedList was used, but ArrayList should be preferred as more efficient and widely used (more chances for JIT) collection

Marked as reviewed by serb (Reviewer).

-------------

PR: https://git.openjdk.org/jdk/pull/12274



More information about the client-libs-dev mailing list