8076057: aix: After 8075506, aix does not support large pages

Reviewed-by: kvn
This commit is contained in:
Goetz Lindenmaier 2015-03-26 11:05:03 +01:00
parent d4860ee85e
commit cd3cc29559

View file

@ -3164,7 +3164,7 @@ jint Arguments::parse_each_vm_init_arg(const JavaVMInitArgs* args,
FLAG_SET_CMDLINE(size_t, MaxNewSize, NewSize); 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); FLAG_SET_DEFAULT(UseLargePages, true);
#endif #endif
@ -3853,7 +3853,7 @@ jint Arguments::parse(const JavaVMInitArgs* args) {
hotspotrc, hotspotrc); 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"); UNSUPPORTED_OPTION(UseLargePages, "-XX:+UseLargePages");
#endif #endif