You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 23, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 23, 2023. It is now read-only.
Reduce the need for reflection by using functional configurationΒ #386
Leveraging @dsyer work on https://github.com/spring-projects-experimental/spring-init. The scope is not to be 100% reflection-less but rather to limit the amount of reflection to lower the footprint and increase the compatibility. Reflection will typically remain for @Controller etc.
Many of the ideas in Spring Init have been incorporated into the AOT plugin. It's not clear that Spring Init is adding very much at this point, so I suppose the answer is "we don't know". It might be slightly faster in a regular JVM still, but that's without doing much optimization of the AOT generated code. If you are actually using Spring Init and would like to provide feedback, no decision has been made, so go ahead.
Activity
Remove static configuration files and functional mode
sdeleuze commentedon Jan 28, 2021
See related spring-projects/spring-framework#18353 (comment) comment.
SentryMan commentedon Mar 31, 2021
So I'm a bit confused, will Spring-Init be merged with the AOT Plugin, or remain separate? I notice it hasn't been updated in a while.
dsyer commentedon Mar 31, 2021
Many of the ideas in Spring Init have been incorporated into the AOT plugin. It's not clear that Spring Init is adding very much at this point, so I suppose the answer is "we don't know". It might be slightly faster in a regular JVM still, but that's without doing much optimization of the AOT generated code. If you are actually using Spring Init and would like to provide feedback, no decision has been made, so go ahead.
sdeleuze commentedon Jul 20, 2021
The first bits have been introduced in https://github.com/spring-projects-experimental/spring-native/tree/0.11.x with the AOT generation of a
ContextBootstrapwhich looks like that:I will create more fine grained issues to track our progresses.
sdeleuze commentedon Jul 26, 2021
Let's close this one as the base mechanism is now used and continue with more 0.11 fine grained issues as we migrate other samples.