Mercurial > hg > graal-compiler
diff src/share/vm/runtime/arguments.cpp @ 2228:59e20a452a2a
7017008: G1: Turn on compressed oops by default.
Summary: Normally compressed oops is enabled when the maximum heap size is under a certain limit, except when G1 is also enabled. Remove this limitation. Also re-enable GCBasher testing with G1 on 64 bit windows in jprt.
Reviewed-by: jcoomes, brutisso, tonyp
author | johnc |
---|---|
date | Wed, 09 Feb 2011 09:43:02 -0800 |
parents | 27e4ea99855d |
children | f77b3ec064b0 |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp Tue Feb 08 12:33:19 2011 +0100 +++ b/src/share/vm/runtime/arguments.cpp Wed Feb 09 09:43:02 2011 -0800 @@ -1410,7 +1410,7 @@ // by ergonomics. if (MaxHeapSize <= max_heap_for_compressed_oops()) { #if !defined(COMPILER1) || defined(TIERED) - if (FLAG_IS_DEFAULT(UseCompressedOops) && !UseG1GC) { + if (FLAG_IS_DEFAULT(UseCompressedOops)) { FLAG_SET_ERGO(bool, UseCompressedOops, true); } #endif