< prev index next >

src/hotspot/share/oops/instanceOop.hpp

Print this page

        

@@ -35,20 +35,13 @@
   // 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() {
-    if (UseNewFieldLayout) {
       return (UseCompressedClassPointers) ?
               klass_gap_offset_in_bytes() :
               sizeof(instanceOopDesc);
-    } else {
-      // The old layout could not deal with compressed oops being off and compressed
-      // class pointers being off.
-      return (UseCompressedOops && UseCompressedClassPointers) ?
-              klass_gap_offset_in_bytes() :
-              sizeof(instanceOopDesc);
-    }
+
   }
 };
 
 #endif // SHARE_OOPS_INSTANCEOOP_HPP
< prev index next >