Turn off AOT by default and make related flags experimental to reflect that JEP 295 AOT is still experimental.
The AOT feature is experimental, which implies it should not have any impact for users not interested in or unaware of the same.
At present the related command line options
PrintAOT are product flags and
UseAOT is enabled by default, which leads it can have a performance impact.
- Change the related flags
AOTLibraryto experimental type.
- Turn off
The following flags are made experimental in JDK 14:
AOTLibrary. Default value of
UseAOT is changed from enabled to disabled.