JINDY: a Java library to support invokedynamic
Computer Science and Information Systems, Tome 11 (2014) no. 1.

Voir la notice de l'article provenant de la source Computer Science and Information Systems website

Java 7 has included the new invokedynamic opcode in the Java virtual machine. This new instruction allows the user to define method linkage at runtime. Once the link is established, the virtual machine performs its common optimizations, providing better runtime performance than reflection. However, this feature has not been offered at the abstraction level of the Java programming language. Since the functionality of the new opcode is not provided as a library, the existing languages in the Java platform can only use it at the assembly level. For this reason, we have developed the JINDY library that offers invokedynamic to any programming language in the Java platform. JINDY supports three modes of use, establishing a trade-off between runtime performance and flexibility. A runtime performance and memory consumption evaluation is presented. We analyze the efficiency of JINDY compared to reflection, the MethodHandle class in Java 7 and the Dynalink library. The memory and performance costs compared to the invokedynamic opcode are also measured.
Keywords: invokedynamic, Java Virtual Machine, dynamically generated classes, reflection, runtime performance
@article{CSIS_2014_11_1_a6,
     author = {Patricia Conde and Francisco Ortin},
     title = {JINDY: a {Java} library to support invokedynamic},
     journal = {Computer Science and Information Systems},
     publisher = {mathdoc},
     volume = {11},
     number = {1},
     year = {2014},
     url = {http://geodesic.mathdoc.fr/item/CSIS_2014_11_1_a6/}
}
TY  - JOUR
AU  - Patricia Conde
AU  - Francisco Ortin
TI  - JINDY: a Java library to support invokedynamic
JO  - Computer Science and Information Systems
PY  - 2014
VL  - 11
IS  - 1
PB  - mathdoc
UR  - http://geodesic.mathdoc.fr/item/CSIS_2014_11_1_a6/
ID  - CSIS_2014_11_1_a6
ER  - 
%0 Journal Article
%A Patricia Conde
%A Francisco Ortin
%T JINDY: a Java library to support invokedynamic
%J Computer Science and Information Systems
%D 2014
%V 11
%N 1
%I mathdoc
%U http://geodesic.mathdoc.fr/item/CSIS_2014_11_1_a6/
%F CSIS_2014_11_1_a6
Patricia Conde; Francisco Ortin. JINDY: a Java library to support invokedynamic. Computer Science and Information Systems, Tome 11 (2014) no. 1. http://geodesic.mathdoc.fr/item/CSIS_2014_11_1_a6/