7118648: disable compressed oops by default on MacOS X until 7118647 is fixed

Wed, 07 Dec 2011 07:27:09 -0800

author
dcubed
date
Wed, 07 Dec 2011 07:27:09 -0800
changeset 3307
55d777c0860a
parent 3306
03865c41c4f3
child 3321
81f7362f7bed

7118648: disable compressed oops by default on MacOS X until 7118647 is fixed
Summary: UseCompressedOops is false by default on MacOS X; can still be set manually
Reviewed-by: jmelvin, kvn, dholmes

src/share/vm/runtime/arguments.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/runtime/arguments.cpp	Tue Dec 06 16:35:04 2011 -0500
     1.2 +++ b/src/share/vm/runtime/arguments.cpp	Wed Dec 07 07:27:09 2011 -0800
     1.3 @@ -1359,9 +1359,12 @@
     1.4    // by ergonomics.
     1.5    if (MaxHeapSize <= max_heap_for_compressed_oops()) {
     1.6  #if !defined(COMPILER1) || defined(TIERED)
     1.7 +// disable UseCompressedOops by default on MacOS X until 7118647 is fixed
     1.8 +#ifndef __APPLE__
     1.9      if (FLAG_IS_DEFAULT(UseCompressedOops)) {
    1.10        FLAG_SET_ERGO(bool, UseCompressedOops, true);
    1.11      }
    1.12 +#endif // !__APPLE__
    1.13  #endif
    1.14  #ifdef _WIN64
    1.15      if (UseLargePages && UseCompressedOops) {

mercurial