DocumentCode
635537
Title
Improving performance of JNA by using LLVM JIT compiler
Author
Yu-Hsin Tsai ; I-Wei Wu ; I-Chun Liu ; Shann, Jean Jyh-Jiun
Author_Institution
Dept. of Comput. Sci., Nat. Chiao Tung Univ., Hsinchu, Taiwan
fYear
2013
fDate
16-20 June 2013
Firstpage
483
Lastpage
488
Abstract
Java Native Access (JNA) has been proposed to alleviate the burden of programming in Java Native Interface (JNI). JNA allows programmer to call native functions without writing any JNI codes. However, JNA suffers from some performance degradation. To overcome this problem, in this paper, we modify the JNA source code and integrate the LLVM JIT compiler into JNA to improve the performance. Our experiment achieves about 8% to 16% performance improvement for calling a native function with different types and numbers of arguments. Furthermore, our design is a non-traditional way of using the runtime compiler, and the challenges we encountered may help other researchers to face the similar situations.
Keywords
Java; program compilers; JNA improving performance; JNA source code; JNI codes; Java native access; Java native interface programming; LLVM JIT compiler; Arrays; Java; Libraries; Program processors; Programming; Runtime; JIT compilation; JNA; JNI; Java; LLVM;
fLanguage
English
Publisher
ieee
Conference_Titel
Computer and Information Science (ICIS), 2013 IEEE/ACIS 12th International Conference on
Conference_Location
Niigata
Type
conf
DOI
10.1109/ICIS.2013.6607886
Filename
6607886
Link To Document