hotspot/src/cpu/sparc/vm/vm_version_sparc.cpp
changeset 360 21d113ecbf6a
parent 183 ba55c7f3fd45
child 670 ddf3e9583f2f
equal deleted inserted replaced
357:f4edb0d9f109 360:21d113ecbf6a
    62   if (is_niagara1()) {
    62   if (is_niagara1()) {
    63     // Indirect branch is the same cost as direct
    63     // Indirect branch is the same cost as direct
    64     if (FLAG_IS_DEFAULT(UseInlineCaches)) {
    64     if (FLAG_IS_DEFAULT(UseInlineCaches)) {
    65       UseInlineCaches         = false;
    65       UseInlineCaches         = false;
    66     }
    66     }
       
    67 #ifdef _LP64
       
    68     // Single issue niagara1 is slower for CompressedOops
       
    69     // but niagaras after that it's fine.
       
    70     if (!is_niagara1_plus()) {
       
    71       if (FLAG_IS_DEFAULT(UseCompressedOops)) {
       
    72         FLAG_SET_ERGO(bool, UseCompressedOops, false);
       
    73       }
       
    74     }
       
    75 #endif // _LP64
    67 #ifdef COMPILER2
    76 #ifdef COMPILER2
    68     // Indirect branch is the same cost as direct
    77     // Indirect branch is the same cost as direct
    69     if (FLAG_IS_DEFAULT(UseJumpTables)) {
    78     if (FLAG_IS_DEFAULT(UseJumpTables)) {
    70       UseJumpTables           = true;
    79       UseJumpTables           = true;
    71     }
    80     }