<div dir="ltr"><div>Hi everyone,</div><div><br></div><div>From JEP 515: Ahead-of-Time Method Profiling, I read the following:</div><div><br></div><div>"the AOT cache now also stores method profiles that the JVM would otherwise need to collect in the early part of an application's run"</div><div><br></div><div>And</div><div><br></div><div>"The net effect of cached profiles is that the JIT runs earlier and with more accuracy, using the profiles to optimize the hot methods so that the application experiences a shorter warmup period"</div><div><br></div><div>My question is: what's need it to generate the profiles on the training run? My understanding is that JIT requires to see a hot method being executed hundreds of times to later optimize it, if we need to replicate that behavior on a training run, it means we need to load tests the app over what we think are the hot paths. </div><div><br></div><div>If JEP 515 only needs one training run of the hot path, instead of hundreds, the training run complexity will decrease, as it requires not a load test, but just a smoke test.</div><div><br></div><div>I would like to understand better how the training run should behave for this JEP.</div><div><br></div><div>Regards</div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;color:rgb(136,136,136)">Daniel </span><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;color:rgb(136,136,136)">e. <a href="mailto:estigma88@gmail.com" target="_blank">estigma88@gmail.com</a></span></div></div></div></div></div></div>