Copy-On-Write ByteBuffer In Java