src/share/vm/runtime/arguments.cpp

changeset 2535
59e20a452a2a
parent 2496
27e4ea99855d
child 2550
f77b3ec064b0
     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

mercurial