private void clearNioBuffers() {
        int count = nioBufferCount;
        if (count > 0) {
            nioBufferCount = 0;
            Arrays.fill(NIO_BUFFERS.get(), 0, count, null);
        }
    }
private void clearNioBuffers ( ) { int count = nioBufferCount ; if ( count > 0 ) { nioBufferCount = 0 ; Arrays . fill ( NIO_BUFFERS . get ( ) , 0 , count , null ) ; } }
See https://github.com/netty/netty/issues/3837