in tools/scripts/assets/CheckMemoryJar.java [88:103]
public static void main(final String[] args) throws Exception {
if (args.length < 1) {
System.out.println("Please provide the full path to the memory mapped file!");
System.exit(1);
}
String mappedFilePath = args[0];
CheckMemoryJar check = new CheckMemoryJar();
check.printJDK();
check.checkHeapWritableMemory();
check.checkAllocateDirect();
check.checkByteBuffer();
check.checkMap(mappedFilePath);
println("");
println("All checks passed.");
}