Mercurial > hg > graal-jvmci-8
comparison src/cpu/sparc/vm/vm_version_sparc.cpp @ 6848:8e47bac5643a
7054512: Compress class pointers after perm gen removal
Summary: support of compress class pointers in the compilers.
Reviewed-by: kvn, twisti
author | roland |
---|---|
date | Tue, 09 Oct 2012 10:11:38 +0200 |
parents | 3a327d0b8586 |
children | f0c2369fda5a |
comparison
equal
deleted
inserted
replaced
6847:65d07d9ee446 | 6848:8e47bac5643a |
---|---|
115 } | 115 } |
116 #ifdef _LP64 | 116 #ifdef _LP64 |
117 // 32-bit oops don't make sense for the 64-bit VM on sparc | 117 // 32-bit oops don't make sense for the 64-bit VM on sparc |
118 // since the 32-bit VM has the same registers and smaller objects. | 118 // since the 32-bit VM has the same registers and smaller objects. |
119 Universe::set_narrow_oop_shift(LogMinObjAlignmentInBytes); | 119 Universe::set_narrow_oop_shift(LogMinObjAlignmentInBytes); |
120 Universe::set_narrow_klass_shift(LogKlassAlignmentInBytes); | |
120 #endif // _LP64 | 121 #endif // _LP64 |
121 #ifdef COMPILER2 | 122 #ifdef COMPILER2 |
122 // Indirect branch is the same cost as direct | 123 // Indirect branch is the same cost as direct |
123 if (FLAG_IS_DEFAULT(UseJumpTables)) { | 124 if (FLAG_IS_DEFAULT(UseJumpTables)) { |
124 FLAG_SET_DEFAULT(UseJumpTables, true); | 125 FLAG_SET_DEFAULT(UseJumpTables, true); |