Integrated: 8302120: Prefer ArrayList to LinkedList in AggregatePainter
Andrey Turbanov
aturbanov at openjdk.org
Sat Feb 25 13:42:10 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
This pull request has now been integrated.
Changeset: 1dbd18ac
Author: Andrey Turbanov <aturbanov at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/1dbd18ac634521edd293a570c66d4d1fe092cfef
Stats: 5 lines in 1 file changed: 1 ins; 0 del; 4 mod
8302120: Prefer ArrayList to LinkedList in AggregatePainter
Reviewed-by: serb
-------------
PR: https://git.openjdk.org/jdk/pull/12254
More information about the client-libs-dev
mailing list