The Observer Effect in JVM Profiling

Attach a profiler to see what the JIT is really doing, and you’ve just changed what the JIT does. On the JVM, that’s not a metaphor. It’s a specific, mechanical consequence of how inlining thresholds work. Physicists get to say “the act of measuring disturbs the system” and leave it at that, a little philosophical, …