RFR: 8355003: Implement Ahead-of-Time Method Profiling [v5]

Igor Veresov iveresov at openjdk.org
Wed Apr 30 05:39:04 UTC 2025


> 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

Igor Veresov has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 34 commits:

 - Address review comments part 2
 - Merge branch 'master' into pp2
 - Merge branch 'master' into pp2
 - Fix class filtering
 - Remove the workaround of setting AOTRecordTraining during assembly
 - Address some of the review comments
 - Merge branch 'master' into pp
 - Add AOTCompileEagerly flag to control compilation after clinit
 - Port 8355334: [leyden] Missing type profile info in archived training data
 - Port 8355296: [leyden] Some methods are stuck at level=0 with -XX:-TieredCompilation
 - ... and 24 more: https://git.openjdk.org/jdk/compare/6850757f...4514d032

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

Changes: https://git.openjdk.org/jdk/pull/24886/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24886&range=04
  Stats: 3197 lines in 57 files changed: 2972 ins; 103 del; 122 mod
  Patch: https://git.openjdk.org/jdk/pull/24886.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24886/head:pull/24886

PR: https://git.openjdk.org/jdk/pull/24886


More information about the hotspot-dev mailing list