Merge
authorcoleenp
Fri, 01 Dec 2017 14:19:16 -0500
changeset 48189 acffbbe79871
parent 48188 531ce8ceafea (diff)
parent 48187 cd85c117a649 (current diff)
child 48190 25cfedf27edc
Merge
--- a/src/hotspot/os/posix/os_posix.cpp	Fri Dec 01 17:10:33 2017 +0100
+++ b/src/hotspot/os/posix/os_posix.cpp	Fri Dec 01 14:19:16 2017 -0500
@@ -200,7 +200,7 @@
 
 static char* reserve_mmapped_memory(size_t bytes, char* requested_addr) {
   char * addr;
-  int flags = MAP_PRIVATE | MAP_NORESERVE | MAP_ANONYMOUS;
+  int flags = MAP_PRIVATE NOT_AIX( | MAP_NORESERVE ) | MAP_ANONYMOUS;
   if (requested_addr != NULL) {
     assert((uintptr_t)requested_addr % os::vm_page_size() == 0, "Requested address should be aligned to OS page size");
     flags |= MAP_FIXED;