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 Tue Jul 2 17:37:39 2013
--- new/src/os/bsd/vm/os_bsd.cpp Tue Jul 2 17:37:39 2013
*** 3403,3413 ****
--- 3403,3415 ----
#ifndef SHM_HUGETLB
#define SHM_HUGETLB 04000
#endif
#endif
! 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;
*** 6074,6078 ****
--- 6076,6086 ----
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