< prev index next >

test/hotspot/jtreg/runtime/FieldLayout/OldLayoutCheck.java

Print this page
@@ -56,12 +56,12 @@
          public int i;
      }
  
      // 32-bit VMs: @0:  8 byte header,  @8: long field, @16:  int field
      // 64-bit VMs: @0: 12 byte header, @12:  int field, @16: long field
-     static final long INT_OFFSET  = Platform.is64bit() ? 12L : 16L;
-     static final long LONG_OFFSET = Platform.is64bit() ? 16L :  8L;
+     static final long INT_OFFSET  = 16L;
+     static final long LONG_OFFSET = 8L;
  
      static public void main(String[] args) {
          Unsafe unsafe = Unsafe.getUnsafe();
          Class c = LIClass.class;
          Field[] fields = c.getFields();
< prev index next >