capacity = BUFFER_LENGTH; buf = DoubleBuffer.wrap(new double[BUFFER_LENGTH]); loadTestData1(buf); buf = buf.asReadOnlyBuffer(); baseBuf = buf;
buf =null; baseBuf = null;