From 0cf2e7610074321047085feb904683727dd9d15d Mon Sep 17 00:00:00 2001 From: rasbold Date: Fri, 6 Jun 2008 11:47:26 -0700 Subject: [PATCH] 6711701: disable compressed oops by default Summary: comment out code that turns on compressed oops Reviewed-by: never, phh --- src/share/vm/runtime/arguments.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/share/vm/runtime/arguments.cpp b/src/share/vm/runtime/arguments.cpp index 1edfbfacb..36b35f579 100644 --- a/src/share/vm/runtime/arguments.cpp +++ b/src/share/vm/runtime/arguments.cpp @@ -1176,7 +1176,9 @@ void Arguments::set_ergonomics_flags() { // 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)) { -- GitLab