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

Andrey Turbanov aturbanov at openjdk.java.net
Mon Feb 21 09:06:53 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)

This pull request has now been integrated.

Changeset: 51f44207
Author:    Andrey Turbanov <aturbanov at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/51f4420711b8cace5733180b3291779f11291895
Stats:     6 lines in 1 file changed: 2 ins; 3 del; 1 mod

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

Reviewed-by: bpb, alanb

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

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


More information about the nio-dev mailing list