
Runtime
Streams Versus Loops: What the JIT Sees
The same pipeline cost 7.05 times the loop over eight elements and 1.31 times over a million. The ratio everyone quotes is a measurement at a trip count.
Topic
Articles on “jit”

Runtime
The same pipeline cost 7.05 times the loop over eight elements and 1.31 times over a million. The ratio everyone quotes is a measurement at a trip count.

Runtime
Identical source, five call sites, one JDK 26 run - nothing allocated at the first and twelve bytes at three others. The wrapper is not what decides.

Runtime
C2 can delete an object entirely by proving it never escapes. Here is when that works, when it silently stops, and how to measure the difference.

Runtime
Tiered compilation, on-stack replacement and inlining decide how your loop really runs. Here is how to read those decisions instead of guessing.