RFR: 8355003: Implement Ahead-of-Time Method Profiling

Igor Veresov iveresov at openjdk.org
Sat Apr 26 23:55:49 UTC 2025


On Sat, 26 Apr 2025 22:09:24 GMT, Vladimir Kozlov <kvn at 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


More information about the hotspot-compiler-dev mailing list