Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[TomM] stop allocating on addAll / removeAll on ObjectHashSet. #308

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

tom-smalls
Copy link
Contributor

Whilst profiling our code, ObjectHashSet::addAll was highlighted as method that was allocating due to the lambda function used when calling to disjunction. The same issue applies to removeAll.

By in-lining these calls should resolve the issue.

@vyazelenko vyazelenko merged commit d58733a into aeron-io:master Dec 10, 2024
11 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants