RFR: 8302120: Prefer ArrayList to LinkedList in AggregatePainter

Sergey Bylokhov serb at openjdk.org
Thu Feb 9 09:11:30 UTC 2023


On Fri, 27 Jan 2023 13:26:28 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

Looks fine.

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

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



More information about the client-libs-dev mailing list