4 ms·
The runtime optimisations are remarkable but it does look like runtime performance can change unpredictably. Has this been your experience?
by chris1993 7y ago
The runtime optimisations are remarkable but it does look like runtime performance can change unpredictably. Has this been your experience?
- saagarjha 7y agoYes, the JVM tends to speed up over time as it applies these optimizations.
- MaxBarraclough 7y agoA fair question. In principle this can happen, and HotSpot can respond to changes in the program's execution patterns, but to my knowledge it's not a problem in practice with real-world Java servers. Other than a 'warming up' phase, real-world performance doesn't tend to vary wildly as time progresses. (Disclaimer: I've not done a great deal of real-world Java work.)