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

Igor Veresov iveresov at openjdk.org
Sun Apr 27 00:05:46 UTC 2025


On Sat, 26 Apr 2025 22:15:27 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/cds/dumpAllocStats.hpp line 151:
> 
>> 149:   }
>> 150: 
>> 151:   void record_dynamic_proxy_class() {
> 
> This is not called. This code seems not related.

True. @iklam, this came with a change you wanted me to take. Ok to cut this out?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/24886#discussion_r2061851887


More information about the hotspot-compiler-dev mailing list