Skip to content

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