<i18n dev> Integrated: 8271603: Unnecessary Vector usage in java.desktop
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.
Author: Andrey Turbanov <turbanoff at gmail.com>
Committer: Sergey Bylokhov <serb at openjdk.org>
Stats: 271 lines in 34 files changed: 19 ins; 31 del; 221 mod
8271603: Unnecessary Vector usage in java.desktop
Reviewed-by: prr, serb
More information about the i18n-dev