提交 0cf2e761 编写于 作者: R rasbold

6711701: disable compressed oops by default

Summary: comment out code that turns on compressed oops
Reviewed-by: never, phh
上级 bbc1443f
...@@ -1176,7 +1176,9 @@ void Arguments::set_ergonomics_flags() { ...@@ -1176,7 +1176,9 @@ void Arguments::set_ergonomics_flags() {
// by ergonomics. // by ergonomics.
if (!UseConcMarkSweepGC && MaxHeapSize <= max_heap_for_compressed_oops()) { if (!UseConcMarkSweepGC && MaxHeapSize <= max_heap_for_compressed_oops()) {
if (FLAG_IS_DEFAULT(UseCompressedOops)) { 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 { } else {
if (UseCompressedOops && !FLAG_IS_DEFAULT(UseCompressedOops)) { if (UseCompressedOops && !FLAG_IS_DEFAULT(UseCompressedOops)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册