Interface PackageConfig.JarConfig.AotConfig

Enclosing interface:
PackageConfig.JarConfig

public static interface PackageConfig.JarConfig.AotConfig
AOT file generation related configuration
  • Method Details

    • enabled

      @WithDefault("false") boolean enabled()
      Whether to automate the creation of an AOT file.
    • type

      The type of AOT file to generate

      If auto is used, Quarkus will generate an AOT file for JDK 25+, for older JDKs it will generate an AppCDS file.

    • additionalRecordingArgs

      Optional<List<String>> additionalRecordingArgs()
      Comma-separated list of additional recording arguments passed to the recording command line.

      For instance, may be used to enable advanced logging with: -Xlog:aot+map=trace,aot+map+oops=trace,aot=warning:file=aot-analysis.map:none:filesize=0 -Xlog:aot+resolve*=trace,aot+codecache+exit=debug:file=training.log:level,tags

      If an argument includes the , symbol, it needs to be escaped, e.g. \\,

    • phase

      The phase in which the AOT file should be generated.

      For Leyden AOT, auto means integration-tests.

      For AppCDS, auto means build (and an error will be thrown if set to integration-tests).