6711701: disable compressed oops by default
Summary: comment out code that turns on compressed oops
Reviewed-by: never, phh
--- 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)) {