1.1 --- a/src/share/vm/runtime/arguments.cpp Tue Feb 08 12:33:19 2011 +0100 1.2 +++ b/src/share/vm/runtime/arguments.cpp Wed Feb 09 09:43:02 2011 -0800 1.3 @@ -1410,7 +1410,7 @@ 1.4 // by ergonomics. 1.5 if (MaxHeapSize <= max_heap_for_compressed_oops()) { 1.6 #if !defined(COMPILER1) || defined(TIERED) 1.7 - if (FLAG_IS_DEFAULT(UseCompressedOops) && !UseG1GC) { 1.8 + if (FLAG_IS_DEFAULT(UseCompressedOops)) { 1.9 FLAG_SET_ERGO(bool, UseCompressedOops, true); 1.10 } 1.11 #endif