--- a/hotspot/src/share/vm/runtime/arguments.cpp Fri Jul 25 11:29:03 2008 -0700
+++ b/hotspot/src/share/vm/runtime/arguments.cpp Fri Aug 01 18:51:27 2008 -0700
@@ -1176,7 +1176,8 @@
// by ergonomics.
if (MaxHeapSize <= max_heap_for_compressed_oops()) {
if (FLAG_IS_DEFAULT(UseCompressedOops)) {
- FLAG_SET_ERGO(bool, UseCompressedOops, true);
+ // Turn off until bug is fixed.
+ // FLAG_SET_ERGO(bool, UseCompressedOops, true);
}
} else {
if (UseCompressedOops && !FLAG_IS_DEFAULT(UseCompressedOops)) {