int scale = VMSupport.U.arrayIndexScale(Class.forName(data.arrayClass()));
int instanceSize = VMSupport.align(base + (data.arrayLength()) * scale, 8);
SortedSet<FieldLayout> result = new TreeSet<FieldLayout>();
result.add(new FieldLayout(FieldData.create(data.arrayClass(), "length", "int"), model.headerSize(), model.sizeOf("int")));
result.add(new FieldLayout(FieldData.create(data.arrayClass(), "<elements>", data.arrayComponentType()), base, scale * data.arrayLength()));
return new ClassLayout(data, result, model.headerSize(), instanceSize, false);
} catch (ClassNotFoundException e) {
throw new IllegalStateException("Should not reach here.", e);
}