Warming up a loop
Hello
I was reading the
FAQ About the Java HotSpot VM
and I camed up this Q&A
Should I warm up my loops first so that Hotspot will compile them?
Warming up loops for HotSpot is not necessary. HotSpot contains On Stack Replacement technology which will compile a running (interpreted) method and replace it while it is still running in a loop. No need to waste your applications time warming up seemingly infinite (or very long running) loops in order to get better application performance.
What is warming up a loop?
cheers,
Ehsan

