src/os/bsd/vm/os_bsd.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/os/bsd/vm/os_bsd.cpp Thu Aug 22 13:03:58 2013
--- new/src/os/bsd/vm/os_bsd.cpp Thu Aug 22 13:03:58 2013
*** 2323,2333 ****
--- 2323,2335 ----
void os::large_page_init() {
}
! 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");
key_t key = IPC_PRIVATE;
*** 4746,4750 ****
--- 4748,4757 ----
n = MIN2(n, (int)bufferSize);
return n;
}
+ #ifndef PRODUCT
+ void TestReserveMemorySpecial_test() {
+ // No tests available for this platform
+ }
+ #endif
src/os/bsd/vm/os_bsd.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File