hotspot/src/share/vm/runtime/arguments.cpp
changeset 30220 a56b855e11b9
parent 30201 cfe623bb3f9c
child 30227 fdb68fee3e41
--- 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