Hacker News new | ask | show | jobs
by ro_sharp 3342 days ago
Memory mapped files are great fun in C, but Java can't safely unmap files! Refer to this bug that's been open since 2002: http://bugs.java.com/view_bug.do?bug_id=4724038

Quote (December 2016): "I have a plan to implement this, but it requires changes to the Java Memory Model and to the compilers. I didn't get it done in time for JDK 9 because of being distracted by a ton of other things, but I hope I'll get it done by JDK 10."