-
8
pages
-
English
-
Documents
-
2011
Description
E cient Cooperation between Java and NativeCodes { JNI Performance BenchmarkDawid Kurzyniec and Vaidy SunderamEmory University, Dept. of Math and Computer Science1784 N. Decatur Rd, Atlanta, GA, 30322, USAfdawidk,vssg@mathcs.emory.eduAbstract. Continuously evolving Java technology provides e ective solu-tions for many industrial and scienti c computing challenges. These so-lutions, however, often require cooperation between Java and native lan-guages. It is possible to achieve such interoperability using the Java NativeInterface (JNI); however, this facility introduces an overhead which mustbe considered while developing interface code. This paper presents JNI per-formance benchmarks for several popular Java Virtual Machine implemen-tations. These may be useful in avoiding certain JNI pitfalls and provide abetter understanding of JNI-related performance issues.1 IntroductionIn only a few years Java has evolved from an embedded consumer-electronics pro-gramming language to a powerful general-purpose technology used to solve variousproblems across di erent hardware platforms. It has already penetrated the en-terprise market, is gaining increasing adoption in the eld of scienti c computing[6,8,2,11], and is even beginning to cope with system level programming and real-time systems.The evolution of Java technology has eliminated many of the reasons to com-bine Java with native languages. The performance of modern Java Virtual Machines(VMs) is often ...
-
Publié par
-
Publié le
24 juin 2011
-
Langue
English