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

Avoid storing duplicate empty array in MethodParameter field #33496

Closed

Conversation

kilink
Copy link
Contributor

@kilink kilink commented Sep 6, 2024

Avoid storing duplicate empty arrays in the parameterAnnotations field of MethodParameter.

In a heap dump of a sample app, there were 1,293 empty Annotation[] duplicates, or about ~20kb of waste.

Avoid storing duplicate empty arrays in the parameterAnnotations field of MethodParameter.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Sep 6, 2024
@bclozel bclozel added the in: core Issues in core modules (aop, beans, core, context, expression) label Sep 6, 2024
@sdeleuze sdeleuze self-assigned this Sep 6, 2024
@sdeleuze sdeleuze added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Sep 6, 2024
@sdeleuze sdeleuze added this to the 6.2.0-RC1 milestone Sep 6, 2024
@sdeleuze sdeleuze closed this in 2b6639e Sep 6, 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) type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants