public static int computeHeaderSize(Object ref) throws InterruptiblePragma { return computeHeaderSize(getObjectType(ref));
public static int computeHeaderSize(VM_Type type) throws InlinePragma { if (type.isArrayType()) { return computeArrayHeaderSize(type.asArray()); } else { return computeScalarHeaderSize(type.asClass()); }
  public static int computeHeaderSize(Object ref) throws InterruptiblePragma {    return computeHeaderSize(getObjectType(ref));  }