see https://docs.spring.io/spring-framework/reference/integration/cds.html
Class Data Sharing (CDS) is a JVM feature that can help reduce the startup time and memory footprint of Java applications.
Compare to CRaC, CDS is more compatible.
Comment From: bclozel
Duplicates #39834 and #40061
Comment From: quaff
Duplicates #39834 and #40061
@bclozel Are you sure it's duplicate? I mean gradle bootBuildImage and mvn spring-boot:build-image should generate CDS-Based image.
Comment From: bclozel
Can you elaborate on what's missing?
Comment From: quaff
Can you elaborate on what's missing?
The two issues you linked didn't mention generating OCI image, I guess that developers need build their own CDS-Based image base on Spring Boot generated CDS-Friendly image, am I right?
Comment From: bclozel
I guess you're looking for buildpack support here - this is covered by the buildpack project.
Comment From: quaff
I guess you're looking for buildpack support here - this is covered by the buildpack project.
Exactly, thanks for the link.