TY - GEN
T1 - Performance Improvement of Kotlin Program in Consideration of JIT Compiler Optimization
AU - Sonoyama, Atsuya
AU - Oguchi, Masato
AU - Kamiyama, Takeshi
AU - Fukuda, Akira
AU - Yamaguchi, Saneyasu
N1 - Funding Information:
This work was supported by JSPS KAKENHI Grant Numbers 17K00109, 18K11277. This work was supported by JST CREST Grant Number JPMJCR1503, Japan.
Publisher Copyright:
© 2020 IEEE.
PY - 2020/9/28
Y1 - 2020/9/28
N2 - Kotlin is a programming language that has high-level interoperability with Java. It was determined as the first-class language for Android application development in 2019 and is expected to increase its importance in client devices, such as smartphones and PCs, in the consumer electronics field. However, this is a newly emerging language and its performance has not been studied enough. In this paper, we focus on a simple program function, which is a for statement, and discuss its performance. First, we evaluate the performance of iteration with for statement written in Kotlin and Java and show that there is a significant performance difference. We then compare the Java virtual machine (JVM) bytecodes delivered from Kotlin and Java source codes and discuss the cause of this performance. Based on this comparison, we propose a method for improving the performance of an application written in Kotlin in Windows JVM with JIT (Just in time) compiler. We then show that our proposed method can improve the performance of processing a for statement of Kotlin.
AB - Kotlin is a programming language that has high-level interoperability with Java. It was determined as the first-class language for Android application development in 2019 and is expected to increase its importance in client devices, such as smartphones and PCs, in the consumer electronics field. However, this is a newly emerging language and its performance has not been studied enough. In this paper, we focus on a simple program function, which is a for statement, and discuss its performance. First, we evaluate the performance of iteration with for statement written in Kotlin and Java and show that there is a significant performance difference. We then compare the Java virtual machine (JVM) bytecodes delivered from Kotlin and Java source codes and discuss the cause of this performance. Based on this comparison, we propose a method for improving the performance of an application written in Kotlin in Windows JVM with JIT (Just in time) compiler. We then show that our proposed method can improve the performance of processing a for statement of Kotlin.
UR - http://www.scopus.com/inward/record.url?scp=85098459513&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85098459513&partnerID=8YFLogxK
U2 - 10.1109/ICCE-Taiwan49838.2020.9258219
DO - 10.1109/ICCE-Taiwan49838.2020.9258219
M3 - Conference contribution
AN - SCOPUS:85098459513
T3 - 2020 IEEE International Conference on Consumer Electronics - Taiwan, ICCE-Taiwan 2020
BT - 2020 IEEE International Conference on Consumer Electronics - Taiwan, ICCE-Taiwan 2020
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 7th IEEE International Conference on Consumer Electronics - Taiwan, ICCE-Taiwan 2020
Y2 - 28 September 2020 through 30 September 2020
ER -