< prev index next >

src/hotspot/share/oops/instanceOop.hpp

Print this page
@@ -36,14 +36,11 @@
    // aligned header size.
    static int header_size() { return sizeof(instanceOopDesc)/HeapWordSize; }
  
    // If compressed, the offset of the fields of the instance may not be aligned.
    static int base_offset_in_bytes() {
-     return (UseCompressedClassPointers) ?
-             klass_gap_offset_in_bytes() :
-             sizeof(instanceOopDesc);
- 
+     return sizeof(instanceOopDesc);
    }
  };
  
  // See similar requirement for oopDesc.
  static_assert(std::is_trivially_default_constructible<instanceOopDesc>::value, "required");
< prev index next >