On Sun, 29 Aug 2021 21:14:19 GMT, Andrey Turbanov <github.com+741251+turban...@openjdk.org> wrote:
> Usage of thread-safe collection Stack is unnecessary. It's recommended to use > ArrayDequeue if a thread-safe implementation is not needed. This pull request has now been integrated. Changeset: cbe57e86 Author: Andrey Turbanov <turban...@gmail.com> Committer: Sergey Bylokhov <s...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/cbe57e860487d1a31a092ec326dc64bf5599a00e Stats: 17 lines in 4 files changed: 2 ins; 3 del; 12 mod 8273684: Replace usages of java.util.Stack with ArrayDeque Reviewed-by: cjplummer, serb ------------- PR: https://git.openjdk.java.net/jdk/pull/5294