How to read a single file efficiently using NIO and multiple threads?

Yeah… well… you could have read the javadoc to figure this out. Anyway, be careful what you wish for. Expect to never get back that mapped memory.

You’re right, I read the javadoc but my colleague didn’t…