RFR: 8355003: Implement Ahead-of-Time Method Profiling
Igor Veresov
iveresov at openjdk.org
Fri Apr 25 20:32:28 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
-------------
Commit messages:
- 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
- Use ENABLE_IF macro
- Missing part of the last commit
- Fix value of CompLevel_count
- Add test
- Don't compile trainingData.cpp without CDS (part 2)
- Don't compile trainingData.cpp without CDS (part 1)
- ... and 18 more: https://git.openjdk.org/jdk/compare/5c067232...3ec132e7
Changes: https://git.openjdk.org/jdk/pull/24886/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24886&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8355003
Stats: 3202 lines in 57 files changed: 2976 ins; 103 del; 123 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-compiler-dev
mailing list