RFR: 8300979: Lazily initialize (byte, char)arr in java.io.DataInputStream [v3]

Per Minborg pminborg at openjdk.org
Wed Mar 29 07:26:06 UTC 2023


On Tue, 28 Mar 2023 18:15:57 GMT, Eirik Bjorsnos <duke at openjdk.org> wrote:

> > @eirbjo I've updated the PR so we hold zero-length arrays rather than null arrays. Please re-run your benchmark to see if there is any change.
> 
> @minborg I ran the test now after your integration and I no longer observe the regression I did before.

Thanks @eirbjo for finding and verifying the performance regression.

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

PR Comment: https://git.openjdk.org/jdk/pull/13121#issuecomment-1488074350


More information about the core-libs-dev mailing list