--- old/src/hotspot/share/runtime/arguments.cpp 2018-09-19 15:51:39.736991300 -0700 +++ new/src/hotspot/share/runtime/arguments.cpp 2018-09-19 15:51:38.878314100 -0700 @@ -1633,6 +1633,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.