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

Phil Race prr at openjdk.java.net
Tue Aug 10 00:08:31 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.

Changes requested by prr (Reviewer).


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

More information about the i18n-dev mailing list