src/share/vm/runtime/arguments.cpp

changeset 3579
15085a6eb50c
parent 3573
69333a2fbae2
parent 3561
7df3125953cb
child 3619
2d503de963b3
equal deleted inserted replaced
3578:72c425c46102 3579:15085a6eb50c
1366 #ifdef _LP64 1366 #ifdef _LP64
1367 // Check that UseCompressedOops can be set with the max heap size allocated 1367 // Check that UseCompressedOops can be set with the max heap size allocated
1368 // by ergonomics. 1368 // by ergonomics.
1369 if (MaxHeapSize <= max_heap_for_compressed_oops()) { 1369 if (MaxHeapSize <= max_heap_for_compressed_oops()) {
1370 #if !defined(COMPILER1) || defined(TIERED) 1370 #if !defined(COMPILER1) || defined(TIERED)
1371 // disable UseCompressedOops by default on MacOS X until 7118647 is fixed
1372 #ifndef __APPLE__
1373 if (FLAG_IS_DEFAULT(UseCompressedOops)) { 1371 if (FLAG_IS_DEFAULT(UseCompressedOops)) {
1374 FLAG_SET_ERGO(bool, UseCompressedOops, true); 1372 FLAG_SET_ERGO(bool, UseCompressedOops, true);
1375 } 1373 }
1376 #endif // !__APPLE__
1377 #endif 1374 #endif
1378 #ifdef _WIN64 1375 #ifdef _WIN64
1379 if (UseLargePages && UseCompressedOops) { 1376 if (UseLargePages && UseCompressedOops) {
1380 // Cannot allocate guard pages for implicit checks in indexed addressing 1377 // Cannot allocate guard pages for implicit checks in indexed addressing
1381 // mode, when large pages are specified on windows. 1378 // mode, when large pages are specified on windows.

mercurial