Skip to content

Explore additional Spring AOT optimizations on the JVM #31501

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

Open
snicoll opened this issue Oct 25, 2023 · 0 comments
Open

Explore additional Spring AOT optimizations on the JVM #31501

snicoll opened this issue Oct 25, 2023 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) theme: aot An issue related to Ahead-of-time processing type: enhancement A general enhancement
Milestone

Comments

@snicoll
Copy link
Member

snicoll commented Oct 25, 2023

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:

@snicoll snicoll added type: enhancement A general enhancement theme: aot An issue related to Ahead-of-time processing labels Oct 25, 2023
@snicoll snicoll added this to the 6.2.x milestone Oct 25, 2023
@jhoeller jhoeller added the in: core Issues in core modules (aop, beans, core, context, expression) label Oct 25, 2023
@jhoeller jhoeller removed their assignment Dec 22, 2023
@snicoll snicoll modified the milestones: 6.2.x, General Backlog Jul 19, 2024
@snicoll snicoll removed their assignment Aug 16, 2024
@sdeleuze sdeleuze modified the milestones: General Backlog, 7.0.x Oct 29, 2024
@sdeleuze sdeleuze changed the title Add first class support for Spring AOT on the JVM Explore additional Spring AOT optimizations on the JVM Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) theme: aot An issue related to Ahead-of-time processing type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

3 participants