RFR: JDK-8297299 SequenceInputStream should not use Vector [v6]
Alan Bateman
alanb at openjdk.org
Mon Nov 21 17:43:23 UTC 2022
On Mon, 21 Nov 2022 17:39:24 GMT, Markus KARG <duke at openjdk.org> wrote:
>> There is no need to use a temporary Vector within the constructor of SynchronizedInputStream, as more efficient (non-synchronized) alternative code (like List.of) will do the same in possibly less time. While the optimization is not dramatic, it still makes sense to replace Vector unless synchronization is really needed.
>
> Markus KARG has updated the pull request incrementally with one additional commit since the last revision:
>
> private member variables
Marked as reviewed by alanb (Reviewer).
-------------
PR: https://git.openjdk.org/jdk/pull/11249
More information about the core-libs-dev
mailing list