--- a/hotspot/src/os/bsd/vm/os_bsd.cpp Sun Aug 25 21:21:18 2013 -0400
+++ b/hotspot/src/os/bsd/vm/os_bsd.cpp Fri Aug 16 13:22:32 2013 +0200
@@ -2325,7 +2325,9 @@
}
-char* os::reserve_memory_special(size_t bytes, char* req_addr, bool exec) {
+char* os::reserve_memory_special(size_t bytes, size_t alignment, char* req_addr, bool exec) {
+ fatal("This code is not used or maintained.");
+
// "exec" is passed in but not used. Creating the shared image for
// the code cache doesn't have an SHM_X executable permission to check.
assert(UseLargePages && UseSHM, "only for SHM large pages");
@@ -4752,3 +4754,8 @@
return n;
}
+#ifndef PRODUCT
+void TestReserveMemorySpecial_test() {
+ // No tests available for this platform
+}
+#endif