# HG changeset patch # User rasbold # Date 1212778046 25200 # Node ID ffce0f5e4840d5178f7369a3b765441a332c1af0 # Parent 7a0b4292559ca8593fc039d198846aa085680a37 6711701: disable compressed oops by default Summary: comment out code that turns on compressed oops Reviewed-by: never, phh diff -r 7a0b4292559c -r ffce0f5e4840 hotspot/src/share/vm/runtime/arguments.cpp --- a/hotspot/src/share/vm/runtime/arguments.cpp Thu Jun 05 21:44:53 2008 -0700 +++ b/hotspot/src/share/vm/runtime/arguments.cpp Fri Jun 06 11:47:26 2008 -0700 @@ -1176,7 +1176,9 @@ // by ergonomics. if (!UseConcMarkSweepGC && MaxHeapSize <= max_heap_for_compressed_oops()) { if (FLAG_IS_DEFAULT(UseCompressedOops)) { - FLAG_SET_ERGO(bool, UseCompressedOops, true); + // Leave compressed oops off by default. Uncomment + // the following line to return it to default status. + // FLAG_SET_ERGO(bool, UseCompressedOops, true); } } else { if (UseCompressedOops && !FLAG_IS_DEFAULT(UseCompressedOops)) {