WEKO3
アイテム
Performance Study of Kotlin and Java Programs with Bytecode Analysis
https://ipsj.ixsq.nii.ac.jp/records/233718
https://ipsj.ixsq.nii.ac.jp/records/23371808718172-6303-4a8d-a4dc-f55fe63bb761
名前 / ファイル | ライセンス | アクション |
---|---|---|
![]()
2026年3月26日からダウンロード可能です。
|
Copyright (c) 2024 by the Information Processing Society of Japan
|
|
非会員:¥0, IPSJ:学会員:¥0, ARC:会員:¥0, OS:会員:¥0, HPC:会員:¥0, PRO:会員:¥0, DLIB:会員:¥0 |
Item type | Trans(1) | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
公開日 | 2024-03-26 | |||||||||||||||
タイトル | ||||||||||||||||
タイトル | Performance Study of Kotlin and Java Programs with Bytecode Analysis | |||||||||||||||
タイトル | ||||||||||||||||
言語 | en | |||||||||||||||
タイトル | Performance Study of Kotlin and Java Programs with Bytecode Analysis | |||||||||||||||
言語 | ||||||||||||||||
言語 | eng | |||||||||||||||
キーワード | ||||||||||||||||
主題Scheme | Other | |||||||||||||||
主題 | Java, Kotlin, Java Virtual Machine, Java bytecode | |||||||||||||||
資源タイプ | ||||||||||||||||
資源タイプ識別子 | http://purl.org/coar/resource_type/c_6501 | |||||||||||||||
資源タイプ | journal article | |||||||||||||||
著者所属 | ||||||||||||||||
Kogakuin University | ||||||||||||||||
著者所属 | ||||||||||||||||
Kogakuin University | ||||||||||||||||
著者所属 | ||||||||||||||||
Nagasaki University | ||||||||||||||||
著者所属 | ||||||||||||||||
Ochanomizu University | ||||||||||||||||
著者所属 | ||||||||||||||||
Kogakuin University | ||||||||||||||||
著者所属(英) | ||||||||||||||||
en | ||||||||||||||||
Kogakuin University | ||||||||||||||||
著者所属(英) | ||||||||||||||||
en | ||||||||||||||||
Kogakuin University | ||||||||||||||||
著者所属(英) | ||||||||||||||||
en | ||||||||||||||||
Nagasaki University | ||||||||||||||||
著者所属(英) | ||||||||||||||||
en | ||||||||||||||||
Ochanomizu University | ||||||||||||||||
著者所属(英) | ||||||||||||||||
en | ||||||||||||||||
Kogakuin University | ||||||||||||||||
著者名 |
Hayataka, Nakamura
× Hayataka, Nakamura
× Atsuya, Sonoyama
× Takeshi, Kamiyama
× Masato, Oguchi
× Saneyasu, Yamaguchi
|
|||||||||||||||
著者名(英) |
Hayataka, Nakamura
× Hayataka, Nakamura
× Atsuya, Sonoyama
× Takeshi, Kamiyama
× Masato, Oguchi
× Saneyasu, Yamaguchi
|
|||||||||||||||
論文抄録 | ||||||||||||||||
内容記述タイプ | Other | |||||||||||||||
内容記述 | Kotlin is a newly proposed programming language that is highly compatible with Java. Typically, source code written in Kotlin is compiled into Java bytecode, which is then interpreted and executed by the Java Virtual Machines (JVMs). To achieve high performance, the codes (source code or bytecode) must be optimized for the existing Java virtual machines. In this paper, we evaluate the performance of loop processing in Kotlin and Java programs considering the existing JVM implementations. First, we perform micro-benchmarking of loop processing, such as for and while statements, using two popular JVM implementations. The results show that the performance depends on the description methods even for the same semantics. The performances can be classified into two groups: fast and slow, in both JVM implementations. Second, we compare the bytecodes generated by the compilers from the description methods of the fast and slow groups. We then show the differences between them, which are small and cannot be justified as the direct cause of a significant performance difference. Third, we compare the native codes generated by a just-in-time (JIT) compiler and show that the bytecode in the fast group is deeply optimized by the JIT compiler, while that in the slow group is not. In fact, small differences in the bytecode lead to differences in the behavior of the JIT compiler and to non-trivial performance gains. ------------------------------ This is a preprint of an article intended for publication Journal of Information Processing(JIP). This preprint should not be cited. This article should be cited as: Journal of Information Processing Vol.32(2024) (online) ------------------------------ |
|||||||||||||||
論文抄録(英) | ||||||||||||||||
内容記述タイプ | Other | |||||||||||||||
内容記述 | Kotlin is a newly proposed programming language that is highly compatible with Java. Typically, source code written in Kotlin is compiled into Java bytecode, which is then interpreted and executed by the Java Virtual Machines (JVMs). To achieve high performance, the codes (source code or bytecode) must be optimized for the existing Java virtual machines. In this paper, we evaluate the performance of loop processing in Kotlin and Java programs considering the existing JVM implementations. First, we perform micro-benchmarking of loop processing, such as for and while statements, using two popular JVM implementations. The results show that the performance depends on the description methods even for the same semantics. The performances can be classified into two groups: fast and slow, in both JVM implementations. Second, we compare the bytecodes generated by the compilers from the description methods of the fast and slow groups. We then show the differences between them, which are small and cannot be justified as the direct cause of a significant performance difference. Third, we compare the native codes generated by a just-in-time (JIT) compiler and show that the bytecode in the fast group is deeply optimized by the JIT compiler, while that in the slow group is not. In fact, small differences in the bytecode lead to differences in the behavior of the JIT compiler and to non-trivial performance gains. ------------------------------ This is a preprint of an article intended for publication Journal of Information Processing(JIP). This preprint should not be cited. This article should be cited as: Journal of Information Processing Vol.32(2024) (online) ------------------------------ |
|||||||||||||||
書誌レコードID | ||||||||||||||||
収録物識別子タイプ | NCID | |||||||||||||||
収録物識別子 | AA11833852 | |||||||||||||||
書誌情報 |
情報処理学会論文誌コンピューティングシステム(ACS) 巻 17, 号 1, 発行日 2024-03-26 |
|||||||||||||||
ISSN | ||||||||||||||||
収録物識別子タイプ | ISSN | |||||||||||||||
収録物識別子 | 1882-7829 | |||||||||||||||
出版者 | ||||||||||||||||
言語 | ja | |||||||||||||||
出版者 | 情報処理学会 |