Improving performance of JNA by using LLVM JIT compiler

Yu Hsin Tsai, I. Wei Wu, I. Chun Liu, Jyh-Jiun Shann

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

5 Scopus citations

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.

Original languageEnglish
Title of host publication2013 IEEE/ACIS 12th International Conference on Computer and Information Science, ICIS 2013 - Proceedings
Pages483-488
Number of pages6
DOIs
StatePublished - 2013
Event2013 IEEE/ACIS 12th International Conference on Computer and Information Science, ICIS 2013 - Niigata, Japan
Duration: 16 Jun 201320 Jun 2013

Publication series

Name2013 IEEE/ACIS 12th International Conference on Computer and Information Science, ICIS 2013 - Proceedings

Conference

Conference2013 IEEE/ACIS 12th International Conference on Computer and Information Science, ICIS 2013
Country/TerritoryJapan
CityNiigata
Period16/06/1320/06/13

Keywords

  • JIT compilation
  • JNA
  • JNI
  • Java
  • LLVM

Fingerprint

Dive into the research topics of 'Improving performance of JNA by using LLVM JIT compiler'. Together they form a unique fingerprint.

Cite this