HotSpot compilation latency

Stefan Reich stefan.reich.maker.of.eye at googlemail.com
Mon Aug 12 11:50:34 UTC 2019


Hi, a quick general question if you don't mind.

How quickly does HotSpot start (and finish) to compile methods? Is this
dependent on the system's speed or on wall time?

So, if I execute, say, a loop that runs for one second, is there a chance
it will be compiled and on-stack-replaced with an optimized version within
that second?

Many greetings,
Stefan

-- 
Stefan Reich
BotCompany.de // Java-based operating systems


More information about the hotspot-dev mailing list