Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support generating CDS-Based image #40190

Closed
quaff opened this issue Apr 8, 2024 · 6 comments
Closed

Support generating CDS-Based image #40190

quaff opened this issue Apr 8, 2024 · 6 comments
Labels
status: duplicate A duplicate of another issue

Comments

@quaff
Copy link
Contributor

quaff commented Apr 8, 2024

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.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 8, 2024
@bclozel
Copy link
Member

bclozel commented Apr 8, 2024

Duplicates #39834 and #40061

@bclozel bclozel closed this as not planned Won't fix, can't repro, duplicate, stale Apr 8, 2024
@bclozel bclozel added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 8, 2024
@quaff
Copy link
Contributor Author

quaff commented Apr 8, 2024

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.

@bclozel
Copy link
Member

bclozel commented Apr 8, 2024

Can you elaborate on what's missing?

@quaff
Copy link
Contributor Author

quaff commented Apr 8, 2024

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?

@bclozel
Copy link
Member

bclozel commented Apr 8, 2024

I guess you're looking for buildpack support here - this is covered by the buildpack project.

@quaff
Copy link
Contributor Author

quaff commented Apr 8, 2024

I guess you're looking for buildpack support here - this is covered by the buildpack project.

Exactly, thanks for the link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants