Skip to content

Avoid now unnecessary copy of MethodInfo in Methods #49526

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

Merged
merged 2 commits into from
Aug 15, 2025

Conversation

gsmet
Copy link
Member

@gsmet gsmet commented Aug 14, 2025

@mkouba did some archeology and it seems we were doing some changes to the MethodInfo pre-0.16.0 but we are now passing it unchanged as far as we could see.

The point of the change is to reduce the allocations during the build of large codebases.

Also avoid calling method.name() several times, it's not a big improvement but it doesn't hurt.

gsmet added 2 commits August 14, 2025 12:30
Also avoid calling method.name() several times, it's not a big
improvement but it doesn't hurt.
@quarkus-bot quarkus-bot bot added the area/arc Issue related to ARC (dependency injection) label Aug 14, 2025
@gsmet gsmet marked this pull request as ready for review August 14, 2025 15:26
@gsmet
Copy link
Member Author

gsmet commented Aug 14, 2025

CI is all green in my branch so marking it as ready for review.

@gsmet gsmet requested review from manovotn, mkouba and Ladicek August 14, 2025 15:26

This comment has been minimized.

@mkouba
Copy link
Contributor

mkouba commented Aug 15, 2025

@mkouba did some archeology and it seems we were doing some changes to the MethodInfo pre-0.16.0 but we are now passing it unchanged as far as we could see.

💯 Yes, that's exactly what I mentioned in the zulip discussion .

Copy link

quarkus-bot bot commented Aug 15, 2025

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit a9120b2.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

You can consult the Develocity build scans.

@gsmet gsmet merged commit 492745b into quarkusio:main Aug 15, 2025
127 of 128 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.28 - main milestone Aug 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/arc Issue related to ARC (dependency injection)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants