On Mon, 14 Jun 2021 11:34:50 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: b8f79a7f
Author:    Andrey Turbanov <turban...@gmail.com>
Committer: Sean Mullan <mul...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/b8f79a7ff798d3a0eee03a8153be942401781bbc
Stats:     18 lines in 3 files changed: 1 ins; 4 del; 13 mod

8268873: Unnecessary Vector usage in java.base

Reviewed-by: mullan

-------------

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

Reply via email to