RFR: 8299576: Reimplement java.io.Bits using VarHandle access [v2]

Per Minborg pminborg at openjdk.org
Tue Jan 17 07:48:19 UTC 2023


On Tue, 17 Jan 2023 01:08:09 GMT, j3graham <duke at openjdk.org> wrote:

> > Do you see any concrete examples of classes in the JDK that could benefit from a "VarHandlization"?
> 
> `ImageOutputStreamImpl` and `ImageInputStreamImpl` in `javax.imageio.stream` have some very similar code that might benefit. Also `DataInputStream` and `DataOutpuStream`could possibly use `Bits` directly.

Thanks @j3graham

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

PR: https://git.openjdk.org/jdk/pull/11840


More information about the core-libs-dev mailing list