hotspot/src/share/vm/runtime/arguments.cpp
changeset 4439 dfe376b4f7df
parent 4434 4b41e5b42f81
parent 4430 95b539dfa1e8
child 4444 877bb3341a10
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Fri Nov 06 16:05:59 2009 -0500
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Wed Nov 11 09:13:12 2009 -0500
@@ -1240,9 +1240,11 @@
   // Check that UseCompressedOops can be set with the max heap size allocated
   // by ergonomics.
   if (MaxHeapSize <= max_heap_for_compressed_oops()) {
+#ifndef COMPILER1
     if (FLAG_IS_DEFAULT(UseCompressedOops) && !UseG1GC) {
       FLAG_SET_ERGO(bool, UseCompressedOops, true);
     }
+#endif
 #ifdef _WIN64
     if (UseLargePages && UseCompressedOops) {
       // Cannot allocate guard pages for implicit checks in indexed addressing
@@ -2704,6 +2706,10 @@
     }
   }
 
+#if defined(_LP64) && defined(COMPILER1)
+  UseCompressedOops = false;
+#endif
+
 #ifdef SERIALGC
   force_serial_gc();
 #endif // SERIALGC