--- old/src/hotspot/share/runtime/arguments.cpp 2018-11-21 22:50:04.523537200 -0800 +++ new/src/hotspot/share/runtime/arguments.cpp 2018-11-21 22:50:03.772913400 -0800 @@ -1624,6 +1624,10 @@ void Arguments::set_use_compressed_oops() { #ifndef ZERO #ifdef _LP64 + if(AllocateOldGenAt != NULL) { + FLAG_SET_ERGO(bool, UseCompressedOops, false); + return; + } // MaxHeapSize is not set up properly at this point, but // the only value that can override MaxHeapSize if we are // to use UseCompressedOops is InitialHeapSize.