4 ms·
You can tune the maximum size of methods as an argument to the JVM to inline as opposed to manually inlining. Also, I think the first rule of microbenchmarks o
by slaymaker1907 9y ago
You can tune the maximum size of methods as an argument to the JVM to inline as opposed to manually inlining.
Also, I think the first rule of microbenchmarks on the JVM is don't do them. The second rule is to use a proper setup for these benchmarks such as JMH due to the complexities introduced by the JIT and GC.