1.1 --- a/src/share/vm/runtime/arguments.cpp Tue Dec 06 16:35:04 2011 -0500 1.2 +++ b/src/share/vm/runtime/arguments.cpp Wed Dec 07 07:27:09 2011 -0800 1.3 @@ -1359,9 +1359,12 @@ 1.4 // by ergonomics. 1.5 if (MaxHeapSize <= max_heap_for_compressed_oops()) { 1.6 #if !defined(COMPILER1) || defined(TIERED) 1.7 +// disable UseCompressedOops by default on MacOS X until 7118647 is fixed 1.8 +#ifndef __APPLE__ 1.9 if (FLAG_IS_DEFAULT(UseCompressedOops)) { 1.10 FLAG_SET_ERGO(bool, UseCompressedOops, true); 1.11 } 1.12 +#endif // !__APPLE__ 1.13 #endif 1.14 #ifdef _WIN64 1.15 if (UseLargePages && UseCompressedOops) {