ideas about making static shared pool for skip buffers for InputStream and Reader

Brian Burkhalter brian.burkhalter at oracle.com
Thu Oct 7 21:37:48 UTC 2021


Re-directing to the appropriate mailing list, core-libs-dev; please exclude jdk-dev from any reply.

How can they be shared when they are different data types, viz., byte vs. char?

On Oct 7, 2021, at 2:26 PM, Xeno Amess <xenoamess at gmail.com<mailto:xenoamess at gmail.com>> wrote:

I just wonder, if it worthy to create static shared pools for skip buffers
for InputStream and Reader, instead of create one for each instance.

I do think it worthy a try.

pr at https://github.com/openjdk/jdk/pull/5855

What the next step should I do?



More information about the jdk-dev mailing list