--- old/src/hotspot/share/runtime/arguments.cpp 2018-10-03 14:37:00.734747700 -0700 +++ new/src/hotspot/share/runtime/arguments.cpp 2018-10-03 14:36:59.704333800 -0700 @@ -1616,6 +1616,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.