< prev index next >

src/share/vm/runtime/arguments.cpp

Print this page
rev 8020 : 8076057: aix: After 8075506, aix does not support large pages.

@@ -3148,11 +3148,11 @@
          FLAG_SET_CMDLINE(uintx, NewSize,
                                 ((julong)MaxHeapSize / (julong)8) * (julong)3);
          FLAG_SET_CMDLINE(uintx, 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
 
       // Increase some data structure sizes for efficiency
       FLAG_SET_CMDLINE(uintx, BaseFootPrintEstimate, MaxHeapSize);

@@ -3837,11 +3837,11 @@
     warning("%s file is present but has been ignored.  "
             "Run with -XX:Flags=%s to load the file.",
             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
 
   ArgumentsExt::report_unsupported_options();
 
< prev index next >