RFR: 8302268: Prefer ArrayList to LinkedList in XEmbeddedFramePeer

Sergey Bylokhov serb at openjdk.org
Sat Feb 11 11:16:07 UTC 2023


On Thu, 9 Feb 2023 09:51:10 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

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

Looks fine.

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

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



More information about the client-libs-dev mailing list