public static int bytesRequiredWhenCopied(Object fromObj, VM_Class type) { return VM_JavaHeader.bytesRequiredWhenCopied(fromObj, type);
public static int bytesRequiredWhenCopied(Object obj) { Object[] tib = getTIB(obj); VM_Type type = VM_Magic.objectAsType(tib[VM_TIBLayoutConstants.TIB_TYPE_INDEX]); if (type.isClassType()) { return bytesRequiredWhenCopied(obj, type.asClass()); } else { int numElements = VM_Magic.getArrayLength(obj); return bytesRequiredWhenCopied(obj, type.asArray(), numElements); }
  public static int bytesRequiredWhenCopied(Object fromObj, VM_Class type) {    return VM_JavaHeader.bytesRequiredWhenCopied(fromObj, type);  }