comparison src/cpu/sparc/vm/vm_version_sparc.cpp @ 642:660978a2a31a

6791178: Specialize for zero as the compressed oop vm heap base Summary: Use zero based compressed oops if java heap is below 32gb and unscaled compressed oops if java heap is below 4gb. Reviewed-by: never, twisti, jcoomes, coleenp
author kvn
date Thu, 12 Mar 2009 10:37:46 -0700
parents 6af0a709d52b
children c771b7f43bbf
comparison
equal deleted inserted replaced
641:6af0a709d52b 642: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;