arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.08746cs.DC
收藏

Java虚拟机器码的自动并行化框架J-Deletio

J-Parallelio -- automatic parallelization framework for Java virtual machine code

Krzysztof Stuglik, Piotr Listkiewicz, Mateusz Kulczyk, Marcin Pietron

摘要:

人工翻译的算法从顺序版本到其并行对应的是耗时的,只能做硬件加速器架构,并行编程或编程环境的具体知识。这个过程的自动化使得移植代码变得更容易和更快。在这种情况下,关键的方面是生成的并行代码的效率如何。本文介绍了J-Meselio,框架自动分析的字节码源代码和多核处理器上的并行化。该过程由几个步骤组成。第一步是对JVM进行反编译,并将其转换为内部抽象语法树,进行依赖提取和内存分析。最后,执行映射过程,该映射过程由负责将输入虚拟机源代码转换为其并行版本的一组规则组成。主要的新颖之处在于,它可以处理纯Java虚拟机,并可以为多核处理器生成并行代码。这使得系统具有可移植性,经过一些小的修改后,它可以与基于JVM的不同语言一起工作。自动翻译的源代码的效率进行了比较,他们的手动编写的同行在选定的基准。

英文摘要:

Manual translation of the algorithms from sequential version to its parallel counterpart is time consuming and can be done only with the specific knowledge of hardware accelerator architecture, parallel programming or programming environment. The automation of this process makes porting the code much easier and faster. The key aspect in this case is how efficient the generated parallel code will be. The paper describes J-Parallelio, the framework for automatic analysis of the bytecode source codes and its parallelisation on multicore processors. The process consists of a few steps. First step is a process of decompilation of JVM and its translation to internal abstract syntax tree, the dependency extraction and memory analysis is performed. Finally, the mapping process is performed which consists of a set of rules responsible for translating the input virtual machine source code to its parallel version. The main novelty is that it can deal with pure Java virtual machine and can generate parallel code for multicore processors. This makes the system portable and it can work with different languages based on JVM after some small modifications. The efficiency of automatically translated source codes were compared with their manually written counterparts on chosen benchmarks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑