--- old/src/os/bsd/vm/os_bsd.cpp 2016-12-12 09:51:34.446525894 -0800 +++ new/src/os/bsd/vm/os_bsd.cpp 2016-12-12 09:51:34.358525895 -0800 @@ -4555,3 +4555,13 @@ } return yes; } + +int os::create_file_for_heap(const char* dir, size_t size) { + VMError::report_and_die("Allocating object heap with backing file is not supported for BSD"); + return false; +} + +bool os::map_memory_to_file(char* base, size_t size, int file_desc) { + VMError::report_and_die("Allocating object heap with backing file is not supported for BSD"); + return false; +}