On Sat, 28 Jan 2023 14:54:38 GMT, Andrey Turbanov <[email protected]> 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

This pull request has now been integrated.

Changeset: d67bfe21
Author:    Andrey Turbanov <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/d67bfe21a23fea2d9ef4eef4e811b774cca2ab94
Stats:     5 lines in 1 file changed: 1 ins; 1 del; 3 mod

8301342: Prefer ArrayList to LinkedList in LayoutComparator

Reviewed-by: prr, serb

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

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

Reply via email to