spring-projects / spring-projects/spring-framework
Explore additional Spring AOT optimizations on the JVM
Open
Nobody has claimed this yet.
in: core
theme: aot
type: enhancement
- Dominant language
- Java
- Stars
- 60.2k
- Forks
- 38.8k
- Avg merge
- 5d 2h
- Merged PRs (30d)
- 27
Description
Spring AOT is a mandatory step to build a native image for a Spring applications. While adding support for native images, our goal has always been to make this relevant for JVM use cases as well. While we've been focusing on native compatiblity (i.e. RuntimeHints) during the first couple feature release of Spring Framework 6, we'd like to explore JVM use cases and optimize them.
This includes:
- Performance measurement of our AOT-processed
BeanFactory, optimizations for straightforward use cases to avoid computing something that can be set at build-time. - Pragmatic migration of runtime processing to AOT, based on benchmarks. With native constraint out of the picture, we can focus on things we're still doing at runtime that can lead to memory/cpu consumption.
See also:
- #31307
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.