Performance comparison of different Java versions


Abstract

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.


Keywords

Java; Performance; Programming; Optimization

Java Platform, Standard Edition (Java SE) 8, 1993, 2016, Oracle and/or its affiliates, http://docs.oracle.com/javase/8/docs/api/

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, http://openjdk.java.net/projects/code-tools/jmh/

“JMH - Java Microbenchmark Harness”, 2015, Jakob Jenkov, http://tutorials.jenkov.com/java-performance/jmh.html

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, http://docs.oracle.com/javase/tutorial/collections/intro/index.html

“Paralellism”, 2014, Oracle,Inc, http://docs.oracle.com/javase/tutorial/collections/streams/parallelism.html

“Reduction”, 2014, Oracle, Inc, http://docs.oracle.com/javase/tutorial/collections/streams/reduction.html

Download

Published : 2017-12-30


Mateusz, M. (2017). Performance comparison of different Java versions. Journal of Computer Sciences Institute, 5, 142-147. https://doi.org/10.35784/jcsi.612

Maciasz Mateusz  mateuszmaciasz92@gmail.com
Institute of Computer Science, Lublin University of Technology, Nadbystrzycka 36B, 20-618 Lublin, Poland  Poland