1
Java is fast, code might not be
Fixing common Java anti-patterns took an app from 1,198ms to 239ms. Eight patterns that compile fine and pass code review but silently drain CPU and balloon heap, with benchmarks and code fixes for each
Technical blog by Jonathan Vogel, Developer Advocate at AWS. Insights to help developers.
Visit jvogel.me → RSS feedOn Hacker News Mar 2026 – Mar 2026
Fixing common Java anti-patterns took an app from 1,198ms to 239ms. Eight patterns that compile fine and pass code review but silently drain CPU and balloon heap, with benchmarks and code fixes for each