Sometimes constraints are questionable

Martin Buchholz martinrb at google.com
Tue Jun 2 23:46:36 UTC 2020


On Tue, Jun 2, 2020 at 3:09 PM Stuart Marks <stuart.marks at oracle.com> wrote:

> 4) We might want to consider refactoring PriorityBlockingQueue and ArrayDeque to
> use ArraysSupport.newLength, in order to provide a consistent policy for
> collections. Other growable-array-based collections (Vector, ArrayList,
> PriorityQueue) do already.

It's a goal to have PriorityQueue and PriorityBlockingQueue be as
similar as possible.
It's a goal to have ArrayDeque and ArrayList be as similar as possible.
Sorry for lack of progress towards the goal.


More information about the core-libs-dev mailing list