Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 239:b727c32788a9 jdk7-b32
6732819: Turn off compressed oops by default for now
Summary: Workaround for CompOops bug
Reviewed-by: coleenp
author | trims |
---|---|
date | Fri, 01 Aug 2008 18:51:27 -0700 |
parents | 1fdb98a17101 |
children | aa8f54688692 |
comparison
equal
deleted
inserted
replaced
238:3df2fe7c4451 | 239:b727c32788a9 |
---|---|
1174 // field offset to determine free list chunk markers. | 1174 // field offset to determine free list chunk markers. |
1175 // Check that UseCompressedOops can be set with the max heap size allocated | 1175 // Check that UseCompressedOops can be set with the max heap size allocated |
1176 // by ergonomics. | 1176 // by ergonomics. |
1177 if (MaxHeapSize <= max_heap_for_compressed_oops()) { | 1177 if (MaxHeapSize <= max_heap_for_compressed_oops()) { |
1178 if (FLAG_IS_DEFAULT(UseCompressedOops)) { | 1178 if (FLAG_IS_DEFAULT(UseCompressedOops)) { |
1179 FLAG_SET_ERGO(bool, UseCompressedOops, true); | 1179 // Turn off until bug is fixed. |
1180 // FLAG_SET_ERGO(bool, UseCompressedOops, true); | |
1180 } | 1181 } |
1181 } else { | 1182 } else { |
1182 if (UseCompressedOops && !FLAG_IS_DEFAULT(UseCompressedOops)) { | 1183 if (UseCompressedOops && !FLAG_IS_DEFAULT(UseCompressedOops)) { |
1183 // If specified, give a warning | 1184 // If specified, give a warning |
1184 if (UseConcMarkSweepGC){ | 1185 if (UseConcMarkSweepGC){ |