Java Performance Update

Java is constantly evolving in terms of performance, allowing unchanged application code to run faster and faster with each new Java release.In this talk we will take a closer look at five recent performance improvements made in the JDK involving both the standard Java libraries, the JIT compiler, and in garbage collectors.

We will explore some of the design considerations made and how performance is evaluated by the JDK developers in a world of conflicting optimization criterion and varying platform properties. One of the five improvements under the microscope is the newly introduced “MergeStore” feature of the JIT-complier allowing several write operations to an array to be merged into one single bulk operation. We will learn how this feature works, how much performance can improve, and how your code can take advantage of it by avoiding common pitfalls that would otherwise disable the feature altogether.

Recorded at Devoxx Belgium 2024.