Integrated: 8302268: Prefer ArrayList to LinkedList in XEmbeddedFramePeer

Andrey Turbanov aturbanov at openjdk.org
Sat Feb 25 13:43:12 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

This pull request has now been integrated.

Changeset: 2fb1e3b7
Author:    Andrey Turbanov <aturbanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2fb1e3b7e72cf7836a9ffd9c6a5b09a6eef3c01b
Stats:     4 lines in 1 file changed: 0 ins; 0 del; 4 mod

8302268: Prefer ArrayList to LinkedList in XEmbeddedFramePeer

Reviewed-by: serb, dnguyen

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

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



More information about the client-libs-dev mailing list