Comment Comment by acimim_ha I don't really see why: public class TestJIT { public static void main(String[] args) { for (int i = 0; i < 20_000; i++) { payload(); } } public static int payload(int a, int b) { return a + b; } } shouldn't be optimized into a 'no-op'. The end-effect is the same. parent acimim_ha 2 years ago