8076057: aix: After 8075506, aix does not support large pages.
authorgoetz
Thu, 26 Mar 2015 11:05:03 +0100
changeset 30220 a56b855e11b9
parent 30219 a39816ded4d8
child 30221 70dab4a0cd45
8076057: aix: After 8075506, aix does not support large pages. Reviewed-by: kvn
hotspot/src/share/vm/runtime/arguments.cpp
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Mon Apr 13 15:02:35 2015 +0300
+++ b/hotspot/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