--- old/src/share/vm/runtime/os.hpp 2016-05-24 12:11:33.666702000 -0700 +++ new/src/share/vm/runtime/os.hpp 2016-05-24 12:11:33.461155300 -0700 @@ -311,6 +311,10 @@ size_t alignment_hint, MEMFLAGS flags); static char* reserve_memory_aligned(size_t size, size_t alignment); static char* attempt_reserve_memory_at(size_t bytes, char* addr); + + // Map the given address range to a temporary file created at the specified directory. + // The address range must already be reserved for guaranteed success. If it not reserved, their could be an error while mapping leading to JVM shutdown + static bool map_memory_to_file(char* base, size_t size, const char* backing_filename); static void split_reserved_memory(char *base, size_t size, size_t split, bool realloc); static bool commit_memory(char* addr, size_t bytes, bool executable);