changeset 48063:531ce8ceafea

8192898: AIX build broken after JDK-8190308 Reviewed-by: coleenp
author mdoerr
date Fri, 01 Dec 2017 11:26:22 -0500
parents aed61a8ce8f9
children acffbbe79871
files src/hotspot/os/posix/os_posix.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/os/posix/os_posix.cpp	Fri Dec 01 11:00:46 2017 -0500
+++ b/src/hotspot/os/posix/os_posix.cpp	Fri Dec 01 11:26:22 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;