hotspot/src/share/vm/runtime/arguments.cpp
changeset 6972 1068100bfbff
parent 6968 5d1eaf2fd05f
child 6987 1ae5a128abb7
child 7381 5d924959cd81
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Mon Oct 18 09:33:24 2010 -0700
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Tue Oct 19 11:14:52 2010 -0700
@@ -2979,6 +2979,13 @@
   UseCompressedOops = false;
 #endif
 
+#if defined(_LP64)
+  if ((DumpSharedSpaces || RequireSharedSpaces) && UseCompressedOops) {
+    // Disable compressed oops with shared spaces
+    UseCompressedOops = false;
+  }
+#endif
+
   // Set object alignment values.
   set_object_alignment();