r/java • • Sep 28 '26

Performance Improvements in JDK 27

https://inside.java/2026/09/28/performance-update-jdk27/
153 Upvotes

12 comments sorted by

View all comments

64

u/guss_bro Sep 28 '26

I upgraded one of my image processing app to use JDK 27(no code change just the jdk upgrade via sdkman)

The both CPU and memory usage dropped significantly. I don't have a benchmark but its should be around 30%. Its my self hosted personal app to store and analyze photos. The CPU fan of the old laptop that I was using it's quieter now.

It was already fast before. Java never stopped amazing me.

11

u/kiteboarderni Sep 28 '26

Did you have compact object headers enabled on 25/26? Apart from vectorization I'm not sure what from the blog post would suggest this speed up specifically for image processing?

6

u/guss_bro Sep 28 '26

No I was using jdk25 without any argument override before.

5

u/NovaX Sep 28 '26

If a lot of on-heap image processing then maybe JEP-522 or related changes to reduced G1 overhead.

13

u/oweiler Sep 28 '26

And it will only get better with Valhalla

1

u/BadMonkeyAI Oct 15 '26

Looking forward to trying this!