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

Prevent unnecessary parameter array allocations #25033

Merged
merged 1 commit into from
Apr 20, 2022

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Apr 20, 2022

We only need to actually allocate the object array that will hold
the Resource method parameters if that method actually has
parameters

This showed up in a sample profiling run I did with async-profiler

We only need to actually allocate the object array that will hold
the Resource method parameters if that method actually has
parameters
@geoand geoand added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Apr 20, 2022
@geoand geoand merged commit 32afb53 into quarkusio:main Apr 20, 2022
@quarkus-bot quarkus-bot bot added this to the 2.9 - main milestone Apr 20, 2022
@geoand geoand deleted the more-rr-allocations branch April 20, 2022 13:07
@quarkus-bot quarkus-bot bot removed the triage/waiting-for-ci Ready to merge when CI successfully finishes label Apr 20, 2022
@gsmet gsmet modified the milestones: 2.9 - main, 2.8.2.Final Apr 24, 2022
@gsmet gsmet modified the milestones: 2.8.2.Final, 2.7.6.Final May 18, 2022
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.

3 participants