Top


定義場所(file name)

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

説明(description)

// Now relocate and link method entry points after class is rewritten.
// This is outside is_rewritten flag. In case of an exception, it can be
// executed more than once.

名前(function name)

void instanceKlass::relocate_and_link_methods(TRAPS) {

本体部(body)

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

      assert(is_loaded(), "must be loaded");

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

      instanceKlassHandle this_oop(THREAD, this->as_klassOop());

  {- -------------------------------------------
  (1) Rewriter::relocate_and_link() を呼んで, バイトコード中の再配置(?)を行う.
      ---------------------------------------- -}

      Rewriter::relocate_and_link(this_oop, CHECK);
    }

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