Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 185:8759d37f2524
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 | 9148c65abefc |
children | 790e66e5fbac |
comparison
equal
deleted
inserted
replaced
184:65fe2bd88839 | 185:8759d37f2524 |
---|---|
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 (!UseConcMarkSweepGC && MaxHeapSize <= max_heap_for_compressed_oops()) { | 1177 if (!UseConcMarkSweepGC && 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 // Leave compressed oops off by default. Uncomment |
1180 // the following line to return it to default status. | |
1181 // FLAG_SET_ERGO(bool, UseCompressedOops, true); | |
1180 } | 1182 } |
1181 } else { | 1183 } else { |
1182 if (UseCompressedOops && !FLAG_IS_DEFAULT(UseCompressedOops)) { | 1184 if (UseCompressedOops && !FLAG_IS_DEFAULT(UseCompressedOops)) { |
1183 // If specified, give a warning | 1185 // If specified, give a warning |
1184 if (UseConcMarkSweepGC){ | 1186 if (UseConcMarkSweepGC){ |