Considered using sun.nio.ch.Util.getTemporaryDirectBuffer(int size), sun.nio.ch.Util.releaseTemporaryDirectBuffer(ByteBuffer but) but found they provided no benefit other than reuse with the disadvantage of not working for jrtfs.jar cross development.
Attempted to use SoftReferences but found they lingered for a very long time.
Better to use WeakReferences for these buffers, to handle bursts of class loading.
Attempted to use SoftReferences but found they lingered for a very long time.
Better to use WeakReferences for these buffers, to handle bursts of class loading.