Performance comparison of different Java versions


This article describes the performance results of two versions of Java - 1.7 and 1.8. Three applications were created for this purpose. The first one is responsible for preparing the test data. Two more implement performance tests depending on the virtual machine version of Java. The methods in the test applications were designed to analyze the performance of collections and the rate of change of the variables by two threads.


Java; Performance; Programming; Optimization

Java Platform, Standard Edition (Java SE) 8, 1993, 2016, Oracle and/or its affiliates,

Andres R. Masegosa, Ana M. Martinez, Hanen Borchani, Probabilistic Graphical Models on Multi-Core CPUs Using Java 8, 2016, IEEE

Kazuaki Ishizaki, Akihiro Hayashi, Gita Koblents, Vivek Sarkar, Compiling and Optimizing Java 8 Programs for GPU Execution, 2015, IEEE

Bogdan Oancea, Ion Gh. Rosca, Tudorel Andrei, Andreea Iluzia Iacob, Evaluating Java performance for linear algebra numerical computations, 2011, ScienceDirect

Kuo-Yi Chen, J. Morris Chang, Ting-Wei Hou, Multithreading in Java: Performance and Scalability on Multicore Systems, 2011, IEEE

“JMH”, 2017, Oracle Corporation and/or its affiliates,

“JMH - Java Microbenchmark Harness”, 2015, Jakob Jenkov,

Guillermo L. Taboada, Sabela Ramos, Roberto R. Expósito, Juan Touriño, Ramón Źoallo, Java in the High Performance Computing arena: Research, practice and experience, 2013, ScienceDirect

Satoshi Matsuoka, Shigeo Itou, Towards performance evaluation of high-performance computing on multiple Java platforms, 2001, ScienceDirect

“Collections”, 2014, Oracle, Inc,

“Paralellism”, 2014, Oracle,Inc,

“Reduction”, 2014, Oracle, Inc,


Published : 2017-12-30

Mateusz, M. (2017). Performance comparison of different Java versions. Journal of Computer Sciences Institute, 5, 142-147.

Maciasz Mateusz
Institute of Computer Science, Lublin University of Technology, Nadbystrzycka 36B, 20-618 Lublin, Poland  Poland