--- a/hotspot/src/share/vm/runtime/arguments.cpp Wed Feb 15 12:17:30 2012 -0800
+++ b/hotspot/src/share/vm/runtime/arguments.cpp Thu Feb 16 15:52:01 2012 -0500
@@ -1370,12 +1370,9 @@
// by ergonomics.
if (MaxHeapSize <= max_heap_for_compressed_oops()) {
#if !defined(COMPILER1) || defined(TIERED)
-// disable UseCompressedOops by default on MacOS X until 7118647 is fixed
-#ifndef __APPLE__
if (FLAG_IS_DEFAULT(UseCompressedOops)) {
FLAG_SET_ERGO(bool, UseCompressedOops, true);
}
-#endif // !__APPLE__
#endif
#ifdef _WIN64
if (UseLargePages && UseCompressedOops) {