Top


定義場所(file name)

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

名前(function name)

void Klass_vtbl::post_new_init_klass(KlassHandle& klass,
                                     klassOop new_klass,
                                     int size) const {

本体部(body)

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

      assert(!new_klass->klass_part()->null_vtbl(), "Not a complete klass");

  {- -------------------------------------------
  (1) CollectedHeap::post_allocation_install_obj_klass() を呼んで, 
      new_klass 引数の klass フィールドを初期化する.
      ---------------------------------------- -}

      CollectedHeap::post_allocation_install_obj_klass(klass, new_klass, size);
    }

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