int    size      = arrayType.getInstanceSize(nelts); int allocator    = MM_Interface.pickAllocator(arrayType, method); Object newObject = resolvedNewArray(nelts, size, arrayType.getTypeInformationBlock(), allocator);
Object newObject = resolvedNewArray(nelts, arrayType);
  public static Object buildMDAHelper (VM_Method method,				       int[] numElements, 				       int dimIndex, 				       VM_Array arrayType) {    if (!arrayType.isInstantiated()) {      arrayType.resolve();      arrayType.instantiate();    }    int    nelts     = numElements[dimIndex];    int    size      = arrayType.getInstanceSize(nelts);    int allocator    = MM_Interface.pickAllocator(arrayType, method);    Object newObject = resolvedNewArray(nelts, size, arrayType.getTypeInformationBlock(), allocator);    if (++dimIndex == numElements.length)      return newObject; // all dimensions have been built    Object[] newArray     = (Object[]) newObject;    VM_Array newArrayType = arrayType.getElementType().asArray();       for (int i = 0; i < nelts; ++i) {      newArray[i] = buildMDAHelper(method, numElements, dimIndex, newArrayType);    }    return newArray;  }