As described by this JDK bug, there is no way to explicitly unmap memory mapped files. A memory mapped file is unmapped only if the corresponding MappedByteBuffer is garbage collected by the JVM.
leakage of temp files
FileAccess.Mapped leaks file channels
oak-ugrade tests fail with segment tar 0.0.12 (on Windows)
Improve monitoring capabilities for TarMk revision gc