Performance Improvement of Kotlin Program in Consideration of JIT Compiler Optimization

Atsuya Sonoyama, Masato Oguchi, Takeshi Kamiyama, Akira Fukuda, Saneyasu Yamaguchi

Research output: Chapter in Book/Report/Conference proceedingConference contribution

2 Citations (Scopus)

Abstract

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.

Original languageEnglish
Title of host publication2020 IEEE International Conference on Consumer Electronics - Taiwan, ICCE-Taiwan 2020
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9781728173993
DOIs
Publication statusPublished - Sept 28 2020
Event7th IEEE International Conference on Consumer Electronics - Taiwan, ICCE-Taiwan 2020 - Taoyuan, Taiwan, Province of China
Duration: Sept 28 2020Sept 30 2020

Publication series

Name2020 IEEE International Conference on Consumer Electronics - Taiwan, ICCE-Taiwan 2020

Conference

Conference7th IEEE International Conference on Consumer Electronics - Taiwan, ICCE-Taiwan 2020
Country/TerritoryTaiwan, Province of China
CityTaoyuan
Period9/28/209/30/20

All Science Journal Classification (ASJC) codes

  • Computer Networks and Communications
  • Artificial Intelligence
  • Computer Science Applications
  • Signal Processing
  • Electrical and Electronic Engineering
  • Instrumentation

Fingerprint

Dive into the research topics of 'Performance Improvement of Kotlin Program in Consideration of JIT Compiler Optimization'. Together they form a unique fingerprint.

Cite this