2012-09-01 26 views
7

Po dodaniu kompilatora Just in Time do systemu Android w wersji 2.2 wiele szczegółowych informacji o jego działaniu również zostało wydanych. The official description of Android 3.0 również wspomina "Różne ulepszenia infrastruktury JIT", ale nie byłem w stanie znaleźć żadnych informacji na temat tych ulepszeń ani nie znalazłem żadnych szczegółów na temat JIT w systemie Android 4.0. Czy JIT pozostała względnie niezmieniona w najnowszych wersjach lub czy są dostępne jakieś informacje na temat tych ulepszeń?Ulepszenia kompilatora JIT w systemie Android 3.0 i 4.0

Edytuj: Jak opisano w mojej odpowiedzi poniżej, znalazłem kilka wpisów w changelogu opisujących ulepszenia. Wszelkie inne informacje będą nadal doceniane.

Odpowiedz

7

Po sprawdzeniu kodu źródłowego Dalvik VM z its public GIT repository i szukają jej changelog jak opisano here, widzę, że oprócz poprawek, tylko ostatnie, najważniejsze zmiany związane z JIT-wydają się być:

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. 

i

Date: Wed May 2 14:27:16 2012 -0700 
[MIPS] Dalvik fast interpreter support and JIT implementation 
Powiązane problemy