<i18n dev> Integrated: 8271603: Unnecessary Vector usage in java.desktop

Andrey Turbanov github.com+741251+turbanoff at openjdk.java.net
Wed Sep 8 04:40:18 UTC 2021

On Sun, 4 Jul 2021 20:42:41 GMT, Andrey Turbanov <github.com+741251+turbanoff at openjdk.org> wrote:

> Usage of thread-safe collection `Vector` is unnecessary. It's recommended to use `ArrayList` if a thread-safe implementation is not needed. In post-BiasedLocking times, this is gets worse, as every access is synchronized.
> I checked only places where `Vector` was used as local variable.

This pull request has now been integrated.

Changeset: 1513dc7a
Author:    Andrey Turbanov <turbanoff at gmail.com>
Committer: Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/1513dc7afc33386106439ccb9b7b16956b3c534a
Stats:     271 lines in 34 files changed: 19 ins; 31 del; 221 mod

8271603: Unnecessary Vector usage in java.desktop

Reviewed-by: prr, serb


PR: https://git.openjdk.java.net/jdk/pull/4680

More information about the i18n-dev mailing list