Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-6969

Use `@QuarkusIntegrationTest` tests as a test run for AOT file generation

XMLWordPrintable

      This uses the process outlined by https://openjdk.org/jeps/514
      to generate a file named `app.aot` inside the `quarkus-app` directory
      (i.e. next to the jar) when `-Dquarkus.package.jar.appcds.use-aot=true`
      has been set.

      This only works when the target artifact is a jar file.

      When I tried this on the Hibernate ORM Panache quickstart, it cut the startup time of the prod jar by half

      Note: requires Java 25

              paul.robinson@redhat.com Paul Robinson
              msochure@redhat.com Miroslav Sochurek
              Jakub Jedlicka Jakub Jedlicka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: