src/cpu/sparc/vm/vm_version_sparc.cpp

changeset 1077
660978a2a31a
parent 1076
6af0a709d52b
child 1078
c771b7f43bbf
equal deleted inserted replaced
1076:6af0a709d52b 1077:660978a2a31a
70 if (!is_niagara1_plus()) { 70 if (!is_niagara1_plus()) {
71 if (FLAG_IS_DEFAULT(UseCompressedOops)) { 71 if (FLAG_IS_DEFAULT(UseCompressedOops)) {
72 FLAG_SET_ERGO(bool, UseCompressedOops, false); 72 FLAG_SET_ERGO(bool, UseCompressedOops, false);
73 } 73 }
74 } 74 }
75 // 32-bit oops don't make sense for the 64-bit VM on sparc
76 // since the 32-bit VM has the same registers and smaller objects.
77 Universe::set_narrow_oop_shift(LogMinObjAlignmentInBytes);
75 #endif // _LP64 78 #endif // _LP64
76 #ifdef COMPILER2 79 #ifdef COMPILER2
77 // Indirect branch is the same cost as direct 80 // Indirect branch is the same cost as direct
78 if (FLAG_IS_DEFAULT(UseJumpTables)) { 81 if (FLAG_IS_DEFAULT(UseJumpTables)) {
79 UseJumpTables = true; 82 UseJumpTables = true;

mercurial