src/share/vm/runtime/arguments.cpp

changeset 674
b727c32788a9
parent 672
1fdb98a17101
child 711
aa8f54688692
equal deleted inserted replaced
673:3df2fe7c4451 674: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){

mercurial