spring-projects / spring-boot

Spring Boot

Home Page:https://spring.io/projects/spring-boot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Investigate automatic CDS support

Sineaggi opened this issue · comments

AppCDS is a feature in java that allows java applications to startup faster thanks to creating application-specific Class-Data Sharing archives.
This issue exists to help investigate and track the progress of adding appcds to the spring boot build plugins.

Problem: How do create a class-list that represents the classes required by a spring-boot app that will positively impact startup and first-request performance, but not include classes that won't be loaded.

Thanks for the suggestion. I don't think we need to couple AppCDS to AOT. You can use class data sharing without any AOT processing as has already been done with manual configuration and Spring Boot 2.x.