git: openjdk/jdk: master: 8332842: Optimize empty CopyOnWriteArrayList allocations

Aleksey Shipilev shade at openjdk.org
Wed Aug 14 14:14:24 UTC 2024


Changeset: a5d948fb
Branch: master
Author:    John Engebretson <jengebr at amazon.com>
Committer: Aleksey Shipilev <shade at openjdk.org>
Date:      2024-08-14 14:11:53 +0000
URL:       https://git.openjdk.org/jdk/commit/a5d948fb9841f654cccc9567c60e8d28e7d719ae

8332842: Optimize empty CopyOnWriteArrayList allocations

Reviewed-by: shade, alanb

! src/java.base/share/classes/java/util/concurrent/CopyOnWriteArrayList.java
+ test/micro/org/openjdk/bench/java/util/concurrent/CopyOnWriteArrayListBenchmark.java



More information about the jdk-changes mailing list