diff src/share/vm/runtime/arguments.cpp @ 4934:7df3125953cb

7146354: Re-enable Compressed OOPs after 7118647 is resolved Summary: Relax the assertion to simply check for COOP mode rather than an exact address. Reviewed-by: coleenp, kvn, phh, dcubed Contributed-by: james.melvin@oracle.com
author coleenp
date Thu, 16 Feb 2012 15:52:01 -0500
parents 24cae3e4cbaa
children 15085a6eb50c
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Wed Feb 15 12:17:30 2012 -0800
+++ b/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) {