< prev index next >

src/hotspot/cpu/x86/matcher_x86.hpp

Print this page
@@ -91,11 +91,11 @@
    }
  
    static bool narrow_klass_use_complex_address() {
      NOT_LP64(ShouldNotCallThis();)
      assert(UseCompressedClassPointers, "only for compressed klass code");
-     return (LogKlassAlignmentInBytes <= 3);
+     return (CompressedKlassPointers::shift() <= 3);
    }
  
    // Prefer ConN+DecodeN over ConP.
    static bool const_oop_prefer_decode() {
      NOT_LP64(ShouldNotCallThis();)
< prev index next >