RFR: 8282130: (bf) Remove unused ARRAY_BASE_OFFSET, ARRAY_INDEX_SCALE from read-only Heap Buffers

Brian Burkhalter bpb at openjdk.java.net
Fri Feb 18 22:05:00 UTC 2022


On Fri, 18 Feb 2022 10:11:42 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> IDEA noticed unused fields in ReadOnly Heap buffer classes: `HeapByteBufferR`, `HeapCharBufferR`, `HeapDoubleBufferR`, `HeapFloatBufferR`, `HeapIntBufferR`, `HeapLongBufferR`, `HeapShortBufferR`.
> ![изображение](https://user-images.githubusercontent.com/741251/154662464-1bfc7860-72f9-41bc-ad2a-35ba23b49011.png)

Looks fine.

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

Marked as reviewed by bpb (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/7530


More information about the nio-dev mailing list