3 comments
I'm genuinely curious about the effect, but I simply don't have patience for the AI writing. Can anyone give an actual non-garbage explanation with some respect for the reader?<p>Slightly less annoying summary from ChatGPT free: <a href="https://chatgpt.com/share/6a9ac7a3-15a0-83eb-8c2a-6f72cd9bebad" rel="nofollow">https://chatgpt.com/share/6a9ac7a3-15a0-83eb-8c2a-6f72cd9beb...</a>.<p>Caveat emptor: it makes high level sense, but I haven’t thought about it in detail.
There are two practical lessons here:<p>1. Upgrade your JDK for the best performance (as the article says, the slowdown is gone in JDK 26).<p>2. Don't try to help the GC by pooling objects. Mutating old objects can be expensive, while allocating new ones is cheap (at least for objects that don't do some exceptionally expensive initialisation).