Integrated: 8273684: Replace usages of java.util.Stack with ArrayDeque

Andrey Turbanov github.com+741251+turbanoff at openjdk.java.net
Wed Sep 22 01:30:00 UTC 2021


On Sun, 29 Aug 2021 21:14:19 GMT, Andrey Turbanov <github.com+741251+turbanoff at 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 <turbanoff at gmail.com>
Committer: Sergey Bylokhov <serb at 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



More information about the client-libs-dev mailing list