SimpleCompPolicy クラスの CompilationPolicy オブジェクトの場合, CompilationPolicy::event() が呼ばれると NonTieredCompPolicy::event() が実行される.
JIT コンパイルを行うかどうかの判断は, 上記の関数から呼び出される SimpleCompPolicy::method_invocation_event() または SimpleCompPolicy::method_back_branch_event() で行われる.
SimpleCompPolicy::event() (= NonTieredCompPolicy::event())
-> * メソッドのコンパイルの場合:
-> SimpleCompPolicy::method_invocation_event()
-> CompileBroker::compile_method()
-> (See: here for details)
* ループのコンパイルの場合:
-> SimpleCompPolicy::method_back_branch_event()
-> CompileBroker::compile_method()
-> (See: here for details)
See: here for details
See: here for details
See: here for details
See: here for details
See: here for details
See: here for details
See: here for details
See: here for details
See: here for details
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.