--- old/src/hotspot/share/runtime/arguments.cpp 2018-11-19 14:09:15.151683700 -0800 +++ new/src/hotspot/share/runtime/arguments.cpp 2018-11-19 14:09:14.002091100 -0800 @@ -1622,6 +1622,10 @@ } void Arguments::set_use_compressed_oops() { +if (AllocateOldGenAt != NULL) { + FLAG_SET_ERGO(bool, UseCompressedOops, false); + return; +} #ifndef ZERO #ifdef _LP64 // MaxHeapSize is not set up properly at this point, but @@ -2062,6 +2066,9 @@ log_warning(arguments) ("NUMA support for Heap depends on the file system when AllocateHeapAt option is used.\n"); } } + + status = status && GCArguments::check_args_consistency(); + return status; }