Skip to content

Conversation

@K-jun98
Copy link
Contributor

@K-jun98 K-jun98 commented Nov 12, 2025

Pre-size all ArrayList instances with batch size to eliminate internal array resizing and reduce GC pressure in high-throughput batch processing scenarios.

Fixes GH-4152

Pre-size all ArrayList instances with batch size to eliminate
internal array resizing and reduce GC pressure in high-throughput
batch processing scenarios.

Fixes spring-projectsGH-4152

Signed-off-by: gobeomjun <theo@dwhale.kr>
@K-jun98 K-jun98 changed the title Optimize ArrayList allocations in BatchMessagingMessageConverter GH:4152 Optimize ArrayList allocations in BatchMessagingMessageConverter Nov 12, 2025
@K-jun98 K-jun98 changed the title GH:4152 Optimize ArrayList allocations in BatchMessagingMessageConverter GH:4152: Optimize ArrayList allocations in BatchMessagingMessageConverter Nov 12, 2025
@artembilan artembilan merged commit 63613f7 into spring-projects:main Nov 12, 2025
1 check passed
@artembilan
Copy link
Member

@K-jun98 ,

thank you for contribution; looking forward for more!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Optimize ArrayList allocations in BatchMessagingMessageConverter

2 participants