1.1 --- a/src/share/vm/runtime/arguments.cpp Mon Oct 18 09:33:24 2010 -0700 1.2 +++ b/src/share/vm/runtime/arguments.cpp Tue Oct 19 11:14:52 2010 -0700 1.3 @@ -2979,6 +2979,13 @@ 1.4 UseCompressedOops = false; 1.5 #endif 1.6 1.7 +#if defined(_LP64) 1.8 + if ((DumpSharedSpaces || RequireSharedSpaces) && UseCompressedOops) { 1.9 + // Disable compressed oops with shared spaces 1.10 + UseCompressedOops = false; 1.11 + } 1.12 +#endif 1.13 + 1.14 // Set object alignment values. 1.15 set_object_alignment(); 1.16