src/share/vm/runtime/arguments.cpp

changeset 2535
59e20a452a2a
parent 2496
27e4ea99855d
child 2550
f77b3ec064b0
equal deleted inserted replaced
2534:e5383553fd4e 2535:59e20a452a2a
1408 #ifdef _LP64 1408 #ifdef _LP64
1409 // Check that UseCompressedOops can be set with the max heap size allocated 1409 // Check that UseCompressedOops can be set with the max heap size allocated
1410 // by ergonomics. 1410 // by ergonomics.
1411 if (MaxHeapSize <= max_heap_for_compressed_oops()) { 1411 if (MaxHeapSize <= max_heap_for_compressed_oops()) {
1412 #if !defined(COMPILER1) || defined(TIERED) 1412 #if !defined(COMPILER1) || defined(TIERED)
1413 if (FLAG_IS_DEFAULT(UseCompressedOops) && !UseG1GC) { 1413 if (FLAG_IS_DEFAULT(UseCompressedOops)) {
1414 FLAG_SET_ERGO(bool, UseCompressedOops, true); 1414 FLAG_SET_ERGO(bool, UseCompressedOops, true);
1415 } 1415 }
1416 #endif 1416 #endif
1417 #ifdef _WIN64 1417 #ifdef _WIN64
1418 if (UseLargePages && UseCompressedOops) { 1418 if (UseLargePages && UseCompressedOops) {

mercurial