7017008: G1: Turn on compressed oops by default

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
This commit is contained in:
John Cuthbertson 2011-02-09 09:43:02 -08:00
parent 0c395c7799
commit 7334402db5
2 changed files with 3 additions and 2 deletions

View file

@ -1410,7 +1410,7 @@ void Arguments::set_ergonomics_flags() {
// 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