Mercurial > hg > truffle
diff src/share/vm/runtime/arguments.cpp @ 187:790e66e5fbac
6687581: Make CMS work with compressed oops
Summary: Make FreeChunk read markword instead of LSB in _klass pointer to indicate that it's a FreeChunk for compressed oops.
Reviewed-by: ysr, jmasa
author | coleenp |
---|---|
date | Mon, 09 Jun 2008 11:51:19 -0400 |
parents | 8759d37f2524 |
children | d1605aabd0a1 6aae2f9d0294 |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp Fri Jun 06 11:47:26 2008 -0700 +++ b/src/share/vm/runtime/arguments.cpp Mon Jun 09 11:51:19 2008 -0400 @@ -1174,7 +1174,7 @@ // field offset to determine free list chunk markers. // Check that UseCompressedOops can be set with the max heap size allocated // by ergonomics. - if (!UseConcMarkSweepGC && MaxHeapSize <= max_heap_for_compressed_oops()) { + if (MaxHeapSize <= max_heap_for_compressed_oops()) { if (FLAG_IS_DEFAULT(UseCompressedOops)) { // Leave compressed oops off by default. Uncomment // the following line to return it to default status.