How Deleting 40 Lines of Code Delivered a 400x Speedup: The Hidden Abstraction Tax
A JDK 26 commit replaced reading /proc with a Linux-specific clock_gettime bit manipulation, cutting ThreadMXBean.getCurrentThreadUserTime() latency from 11 µs to 279 ns (40x, 400x under contention), illustrating the "abstraction tax" of portable standards.
