Package io.quarkus.deployment.pkg
Interface PackageConfig.JarConfig.AppcdsConfig
- Enclosing interface:
PackageConfig.JarConfig
@Deprecated(forRemoval=true,
since="3.32")
public static interface PackageConfig.JarConfig.AppcdsConfig
Deprecated, for removal: This API element is subject to removal in a future version.
Configuration for AppCDS generation.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.When AppCDS generation is enabled, if this property is set, then the JVM used to generate the AppCDS file will be the JVM present in the container image.booleanenabled()Deprecated, for removal: This API element is subject to removal in a future version.Whether to automate the creation of AppCDS.booleanuseAot()Deprecated, for removal: This API element is subject to removal in a future version.Whether to use Ahead-of-Time Class Loading invalid input: '&' Linking introduced in JDK 24.booleanDeprecated, for removal: This API element is subject to removal in a future version.Whether creation of the AppCDS archive should run in a container if available.
-
Method Details
-
enabled
@WithDefault("false") boolean enabled()Deprecated, for removal: This API element is subject to removal in a future version.Whether to automate the creation of AppCDS. Care must be taken to use the same exact JVM version when building and running the application. -
builderImage
Deprecated, for removal: This API element is subject to removal in a future version.When AppCDS generation is enabled, if this property is set, then the JVM used to generate the AppCDS file will be the JVM present in the container image. The builder image is expected to have the 'java' binary on its PATH. This flag is useful when the JVM to be used at runtime is not the same exact JVM version as the one used to build the jar. Note that this property is consulted only whenquarkus.package.jar.appcds.enabled=trueand it requires having docker available during the build. -
useContainer
@WithDefault("true") boolean useContainer()Deprecated, for removal: This API element is subject to removal in a future version.Whether creation of the AppCDS archive should run in a container if available.Normally, if either a suitable container image to use to create the AppCDS archive can be determined automatically or if one is explicitly set using the
quarkus.<package-type>.appcds.builder-imagesetting, the AppCDS archive is generated by running the JDK contained in the image as a container.If this option is set to
false, a container will not be used to generate the AppCDS archive. Instead, the JDK used to build the application is also used to create the archive. Note that the exact same JDK version must be used to run the application in this case.Ignored if
quarkus.package.jar.appcds.enabledis set tofalse. -
useAot
@WithDefault("false") boolean useAot()Deprecated, for removal: This API element is subject to removal in a future version.Whether to use Ahead-of-Time Class Loading invalid input: '&' Linking introduced in JDK 24.
-