src/cpu/sparc/vm/vm_version_sparc.cpp

changeset 4159
8e47bac5643a
parent 4108
3a327d0b8586
child 4323
f0c2369fda5a
     1.1 --- a/src/cpu/sparc/vm/vm_version_sparc.cpp	Mon Oct 08 17:04:00 2012 -0700
     1.2 +++ b/src/cpu/sparc/vm/vm_version_sparc.cpp	Tue Oct 09 10:11:38 2012 +0200
     1.3 @@ -117,6 +117,7 @@
     1.4      // 32-bit oops don't make sense for the 64-bit VM on sparc
     1.5      // since the 32-bit VM has the same registers and smaller objects.
     1.6      Universe::set_narrow_oop_shift(LogMinObjAlignmentInBytes);
     1.7 +    Universe::set_narrow_klass_shift(LogKlassAlignmentInBytes);
     1.8  #endif // _LP64
     1.9  #ifdef COMPILER2
    1.10      // Indirect branch is the same cost as direct

mercurial