< prev index next > src/hotspot/share/gc/shared/gcArguments.cpp
Print this page
if (!FLAG_IS_DEFAULT(AllocateHeapAt) && !FLAG_IS_DEFAULT(AllocateOldGenAt)) {
jio_fprintf(defaultStream::error_stream(),
"AllocateHeapAt and AllocateOldGenAt cannot be used together.\n");
status = false;
}
+ if (!FLAG_IS_DEFAULT(AllocateHeapAt) && UseLargePages) {
+ jio_fprintf(defaultStream::error_stream(),
+ "AllocateHeapAt and UseLargePages cannot be used together.\n");
+ status = false;
+ }
if (!FLAG_IS_DEFAULT(AllocateOldGenAt) && (UseSerialGC || UseEpsilonGC || UseZGC)) {
jio_fprintf(defaultStream::error_stream(),
"AllocateOldGenAt is not supported for selected GC.\n");
status = false;
}
< prev index next >