On Wed, 4 Nov 2026 20:35:08 GMT, Ioi Lam <[email protected]> wrote:

> This PR renames a few C++ APIs that refer to the AOT configuration and AOT 
> cache to improve source code consistency:
> 
> "preimage" -> "aot configuration"
> "final image" -> "aot cache"
> 
> Also, the class `FinalImageRecipes` is renamed to `AOTMetaspaceRecipes`, as 
> it contains only "recipes" for optimizing metaspace objects such as 
> `InstanceKlass` and `ConstantPool`. (E.g., Recipes for compiler optimizations 
> are stored in `trainingData.hpp`.).
> 
> The main changes are in
> 
> - aotMetaspace.hpp
> - aotMetaspaceRecipes.hpp
> - cdsConfig.hpp
> - filemap.hpp
> - filemap.cpp
> 
> The changes in other files are simply renaming of function names, as well as 
> comment updates.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: b6d8a728
Author:    Ioi Lam <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/b6d8a728f95fc9c40b3788aec39ce9acce95a5a4
Stats:     878 lines in 39 files changed: 359 ins; 365 del; 154 mod

8396738: Clean up C++ APIs for accessing AOT configuration and AOT cache

Reviewed-by: asmehra, kvn

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

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

Reply via email to