r/java • u/woj-tek • Sep 04 '26
[Java][JVM][Tuning][Profiling][G1][JIT] Why is Arrays.fill 265 times slower on G1GC?
https://krzysztofslusarski.github.io/2026/08/19/g1barrier.html
53
Upvotes
r/java • u/woj-tek • Sep 04 '26
25
u/wezell Sep 04 '26
TL;DR this is fixed in JDK 26. Fingers crossed JEP 522, the fix, gets back-ported to JDK 25LTS.
40
u/elmuerte Sep 04 '26 •
Well.. not just JVM flags, or even just flags. Unless you use LLMs, then everything is ok /s
-13
u/vips7L Sep 04 '26
Slop