Hi Claude,

MappedByteBuffer is the fastest, but allows for this global pause. 
RandomAccessFile or FileChannel (without .map) will be slower, but involve a 
syscall for IO. Because threads get marked safe before entering a syscall, any 
delays in the operation affect just that thread, not the whole JVM. So either 
of these are preferable.

Best,

--
Igor

Reply via email to