在AArch64上复制数组的Java运行时优化

Siri Sahithi Ponangi, G. Dueck, K. Kent, Daryl Maier, Kazuhiro Konno
{"title":"在AArch64上复制数组的Java运行时优化","authors":"Siri Sahithi Ponangi, G. Dueck, K. Kent, Daryl Maier, Kazuhiro Konno","doi":"10.1109/MECO58584.2023.10155064","DOIUrl":null,"url":null,"abstract":"One of the architectures supported by OpenJ9, the AArch64 platform, is widely used in electronic devices because of its reasonable price and resource efficiency. This work adds an optimization in the Just-In-Time (JIT) compiler of OpenJ9 for AArch64, that copies arrays efficiently. The optimizing JIT compiler function, arraycopy Evaluator, separates inlinable code for better performance. Making use of Vector Floating Point registers helps in copying up to 128 bits of any data type in a single load/store instruction. While copying, the situations where primitive values are copied or Garbage Collection checks are required to access the reference fields are handled. We evaluate the results using the BumbleBench Microbenchmarking test framework. We investigate the trace files and utilize the Perf tool to identify the causes of unexpected Benchmark results. We achieve an up to tenfold increase in performance.","PeriodicalId":187825,"journal":{"name":"2023 12th Mediterranean Conference on Embedded Computing (MECO)","volume":"27 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-06-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Java Runtime Optimization for Copying Arrays on AArch64\",\"authors\":\"Siri Sahithi Ponangi, G. Dueck, K. Kent, Daryl Maier, Kazuhiro Konno\",\"doi\":\"10.1109/MECO58584.2023.10155064\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"One of the architectures supported by OpenJ9, the AArch64 platform, is widely used in electronic devices because of its reasonable price and resource efficiency. This work adds an optimization in the Just-In-Time (JIT) compiler of OpenJ9 for AArch64, that copies arrays efficiently. The optimizing JIT compiler function, arraycopy Evaluator, separates inlinable code for better performance. Making use of Vector Floating Point registers helps in copying up to 128 bits of any data type in a single load/store instruction. While copying, the situations where primitive values are copied or Garbage Collection checks are required to access the reference fields are handled. We evaluate the results using the BumbleBench Microbenchmarking test framework. We investigate the trace files and utilize the Perf tool to identify the causes of unexpected Benchmark results. We achieve an up to tenfold increase in performance.\",\"PeriodicalId\":187825,\"journal\":{\"name\":\"2023 12th Mediterranean Conference on Embedded Computing (MECO)\",\"volume\":\"27 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-06-06\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2023 12th Mediterranean Conference on Embedded Computing (MECO)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/MECO58584.2023.10155064\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 12th Mediterranean Conference on Embedded Computing (MECO)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/MECO58584.2023.10155064","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

OpenJ9支持的体系结构之一AArch64平台由于其合理的价格和资源效率而广泛应用于电子设备。这项工作在针对AArch64的OpenJ9的即时(JIT)编译器中添加了一项优化,可以有效地复制数组。优化JIT编译器函数arraycopy Evaluator将可内联代码分开以获得更好的性能。使用Vector浮点寄存器有助于在单个加载/存储指令中复制多达128位的任何数据类型。在复制时,会处理复制原语值或需要进行垃圾收集检查以访问引用字段的情况。我们使用BumbleBench微基准测试框架评估结果。我们调查跟踪文件并利用Perf工具来确定意外的基准测试结果的原因。我们的性能提高了10倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Java Runtime Optimization for Copying Arrays on AArch64
One of the architectures supported by OpenJ9, the AArch64 platform, is widely used in electronic devices because of its reasonable price and resource efficiency. This work adds an optimization in the Just-In-Time (JIT) compiler of OpenJ9 for AArch64, that copies arrays efficiently. The optimizing JIT compiler function, arraycopy Evaluator, separates inlinable code for better performance. Making use of Vector Floating Point registers helps in copying up to 128 bits of any data type in a single load/store instruction. While copying, the situations where primitive values are copied or Garbage Collection checks are required to access the reference fields are handled. We evaluate the results using the BumbleBench Microbenchmarking test framework. We investigate the trace files and utilize the Perf tool to identify the causes of unexpected Benchmark results. We achieve an up to tenfold increase in performance.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信