Top


定義場所(file name)

hotspot/src/share/vm/oops/typeArrayKlass.cpp

名前(function name)

oop typeArrayKlass::multi_allocate(int rank, jint* last_size, TRAPS) {

本体部(body)

  {- -------------------------------------------
  (1) (assert)
      ---------------------------------------- -}

      // For typeArrays this is only called for the last dimension
      assert(rank == 1, "just checking");

  {- -------------------------------------------
  (1) (変数宣言など)
      ---------------------------------------- -}

      int length = *last_size;

  {- -------------------------------------------
  (1) objArrayKlass::allocate() を呼んで, メモリを確保する
      ---------------------------------------- -}

      return allocate(length, THREAD);
    }

This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.