標題: Improving Performance of JNA by Using LLVM JIT Compiler
作者: Tsai, Yu-Hsin
Wu, I-Wei
Liu, I-Chun
Shann, Jean Jyh-Jiun
資訊工程學系
Department of Computer Science
關鍵字: Java;JNI;JNA;LLVM;JIT compilation
公開日期: 2013
摘要: 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.
URI: http://hdl.handle.net/11536/24078
ISBN: 978-1-4799-0174-6
期刊: 2013 IEEE/ACIS 12TH INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION SCIENCE (ICIS)
起始頁: 483
結束頁: 488
Appears in Collections:Conferences Paper