< prev index next >

src/hotspot/share/oops/typeArrayKlass.cpp

Print this page
*** 93,11 ***
    return (typeArrayOop)Universe::heap()->array_allocate(this, size, length,
                                                          do_zero, CHECK_NULL);
  }
  
  oop TypeArrayKlass::multi_allocate(int rank, jint* last_size, TRAPS) {
-   // For typeArrays this is only called for the last dimension
    assert(rank == 1, "just checking");
    int length = *last_size;
    return allocate(length, THREAD);
  }
  
--- 93,10 ---
< prev index next >