On Sun, 4 Jul 2021 20:42:41 GMT, Andrey Turbanov <github.com+741251+turban...@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 <turban...@gmail.com> Committer: Sergey Bylokhov <s...@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