On Sat, 26 Apr 2025 22:09:24 GMT, Vladimir Kozlov <k...@openjdk.org> wrote:
>> Improve warm-up time by making profile data from a previous run of an >> application instantly available, when the HotSpot Java Virtual Machine >> starts. Specifically, enhance the [AOT cache](https://openjdk.org/jeps/483) >> to store method execution profiles from training runs, reducing profiling >> delays in subsequent production runs. >> >> More details in the JEP: https://bugs.openjdk.org/browse/JDK-8325147 > > src/hotspot/share/ci/ciMethodData.cpp line 71: > >> 69: >> 70: bool is_live(Method* m) { >> 71: Klass* holder = m->method_holder(); > > Changes in this file seems not related and can be pushed/tested separately. > If they are related - there should be condition for additional checks. You mean you want these checks to be done only if `TrainingData::have_data() == true` ? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/24886#discussion_r2061846315