--- a/src/hotspot/share/runtime/os.cpp Thu May 03 14:10:08 2018 +0200
+++ b/src/hotspot/share/runtime/os.cpp Thu May 03 08:07:20 2018 -0400
@@ -251,6 +251,14 @@
return (n != -1);
}
+#if !defined(LINUX) && !defined(_WINDOWS)
+bool os::committed_in_range(address start, size_t size, address& committed_start, size_t& committed_size) {
+ committed_start = start;
+ committed_size = size;
+ return true;
+}
+#endif
+
// Helper for dll_locate_lib.
// Pass buffer and printbuffer as we already printed the path to buffer
// when we called get_current_directory. This way we avoid another buffer