diff -r dbc1f5ddddf0 -r dfe376b4f7df hotspot/src/share/vm/runtime/arguments.cpp --- 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