hotspot/src/share/vm/runtime/arguments.cpp
changeset 11796 746c23c00fb5
parent 11790 9bd8cd33db39
parent 11778 eadd8fa553d9
child 12095 cc3d6f08a4c4
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Fri Feb 17 12:18:10 2012 -0800
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Fri Feb 17 12:18:52 2012 -0800
@@ -1368,12 +1368,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) {