src/os/bsd/vm/os_bsd.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8007074 Cdiff src/os/bsd/vm/os_bsd.cpp

src/os/bsd/vm/os_bsd.cpp

Print this page

        

*** 3403,3413 **** #ifndef SHM_HUGETLB #define SHM_HUGETLB 04000 #endif #endif ! char* os::reserve_memory_special(size_t bytes, char* req_addr, bool exec) { // "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; --- 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