7

Just in Time コンパイラがバージョン 2.2 で Android に追加されたとき、それがどのように機能するかについての多くの詳細な情報もリリースされました。Android 3.0の公式説明にも「JIT インフラストラクチャのさまざまな改善」と記載されていますが、これらの改善に関する情報や、Android 4.0 の JIT に関する詳細は見つかりませんでした。JIT は最新バージョンで比較的変更されていませんか、またはこれらの改善に関する情報はありますか?

編集: 以下の私の回答で説明されているように、改善を説明するいくつかの変更ログ エントリが見つかりました。他の情報は引き続きいただければ幸いです。

4

1 に答える 1

7

パブリック GIT リポジトリから Dalvik VM ソースコードをチェックアウトし、ここで説明されているようにその変更ログを検索した後、バグ修正を除いて、最近の主要な JIT 関連の変更は次のように思われます。

Date: Tue Jul 3 13:13:07 2012 -0700
[X86] X86 trace JIT compiler support

This patch provides a fully functional x86 trace JIT compiler for Dalvik
VM. It is built on top of the existing x86 fast interpreter
with bug fixes and needed extension to support trace JIT interface. The
x86 trace JIT code generator was developed independent of the existing
template-based code generator and thus does not share exactly the same
infrastructure. Included in this patch are:

* Deprecated and removed the x86-atom fast interpreter that is no
  longer functional since ICS.
* Augmented x86 fast interpreter to provide interfaces for x86 trace JIT
  compiler.
* Added x86 trace JIT code generator with full JDWP debugging support.
* Method JIT and self-verification mode are not supported.

The x86 code generator uses the x86 instruction encoder/decoder library
from the Apache Harmony project. Additional wrapper extension and bug
fixes were added to support the x86 trace JIT code generator. The x86
instruction encoder/decoder is embedded inside the x86 code generator
under the libenc subdirectory.

Date: Wed May 2 14:27:16 2012 -0700
[MIPS] Dalvik fast interpreter support and JIT implementation
于 2012-09-02T10:34:48.610 に答える