6711701: disable compressed oops by default
authorrasbold
Fri, 06 Jun 2008 11:47:26 -0700
changeset 611 ffce0f5e4840
parent 610 7a0b4292559c
child 612 807f8137637e
child 613 2aa2b913106c
6711701: disable compressed oops by default Summary: comment out code that turns on compressed oops Reviewed-by: never, phh
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)) {