К содержанию
РецензированоEN2012

Hybrid Java compilation of just-in-time and ahead-of time for embedded systems

Hyeong-Seok Oh · Soo-Mook Moon · Dong-Heon Jung

Научные статьи · 2012

Аннотация

Many embedded Java software platforms execute two types of Java classes: those installed statically on the client device and those downloaded dynamically from service providers at runtime. For higher performance, it would be desirable to compile static Java classes by aheadof-time compiler (AOTC) and to handle dynamically downloaded classes by just-in-time compiler (JITC), providing a hybrid compilation environment. This paper proposes a hybrid Java compilation approach and performs an initial case study with a hybrid environment, which is constructed simply by merging an existing AOTC and a JITC for the same Java virtual machine. Both compilers are developed independently for their own performance advantages with a generally accepted approach of compilation, but we merged them as e±ciently as possible. Contrary to our expectations, the hybrid environment does not deliver a performance,in-between of full-JITC's and full-AOTC's. In fact, its performance is even lower than fullJITC's for many benchmarks. We analyzed the result and found that a naive merge of JITC and AOTC may result in ine±ciencies, especially due to calls between JITC methods and AOTC methods. Based on these observations, we propose some ideas to reduce such a call overhead.We also observed that the distribution of JITC methods and AOTC methods is also important,and experimented with various distributions to understand when a hybrid environment can deliver a desired performance. Finally, we discuss how JITC and AOTC should be designed for e±cient hybrid execution

Доказательный фрагмент

«Many embedded Java software platforms execute two types of Java classes: those installed statically on the client device and those downloaded dynamically from service providers at runtime.»

Образец извлечения

Демо-превью

Many embedded Java software platforms execute two types of Java classes: those installed statically on the client device and those downloaded dynamically from service providers at runtime. Полный текст публикации CiteX не хранит — доступ к первоисточнику открывается по DOI согласно лицензии издателя и выбранному плану.

DOI не указан
Цитирований
0
Тип
Журнал
Страна
Узбекистан
Спросить CiteX об этой работе

Смежные источники