7146354: Re-enable Compressed OOPs after 7118647 is resolved

Relax the assertion to simply check for COOP mode rather than an exact address.

Reviewed-by: coleenp, kvn, phh, dcubed
This commit is contained in:
James Melvin 2012-02-16 15:52:01 -05:00 committed by Coleen Phillimore
parent 510522ff57
commit ac2ed39761
2 changed files with 2 additions and 5 deletions

View file

@ -1370,12 +1370,9 @@ void Arguments::set_ergonomics_flags() {
// by ergonomics.
if (MaxHeapSize <= max_heap_for_compressed_oops()) {
#if !defined(COMPILER1) || defined(TIERED)
// disable UseCompressedOops by default on MacOS X until 7118647 is fixed
#ifndef __APPLE__
if (FLAG_IS_DEFAULT(UseCompressedOops)) {
FLAG_SET_ERGO(bool, UseCompressedOops, true);
}
#endif // !__APPLE__
#endif
#ifdef _WIN64
if (UseLargePages && UseCompressedOops) {