changeset 611:ffce0f5e4840

6711701: disable compressed oops by default Summary: comment out code that turns on compressed oops Reviewed-by: never, phh
author rasbold
date Fri, 06 Jun 2008 11:47:26 -0700
parents 7a0b4292559c
children 807f8137637e 2aa2b913106c
files hotspot/src/share/vm/runtime/arguments.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)) {