changeset 8382:0a18834f982a

8076057: aix: After 8075506, aix does not support large pages. Reviewed-by: kvn
author goetz
date Thu, 26 Mar 2015 11:05:03 +0100
parents f840835501d6
children 257545c8e5d8
files src/share/vm/runtime/arguments.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Mon Apr 13 15:02:35 2015 +0300
+++ b/src/share/vm/runtime/arguments.cpp	Thu Mar 26 11:05:03 2015 +0100
@@ -3164,7 +3164,7 @@
          FLAG_SET_CMDLINE(size_t, MaxNewSize, NewSize);
       }
 
-#ifndef _ALLBSD_SOURCE  // UseLargePages is not yet supported on BSD.
+#if !defined(_ALLBSD_SOURCE) && !defined(AIX)  // UseLargePages is not yet supported on BSD and AIX.
       FLAG_SET_DEFAULT(UseLargePages, true);
 #endif
 
@@ -3853,7 +3853,7 @@
             hotspotrc, hotspotrc);
   }
 
-#ifdef _ALLBSD_SOURCE  // UseLargePages is not yet supported on BSD.
+#if defined(_ALLBSD_SOURCE) || defined(AIX)  // UseLargePages is not yet supported on BSD and AIX.
   UNSUPPORTED_OPTION(UseLargePages, "-XX:+UseLargePages");
 #endif