-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
ArC - reduce allocations for intercepted methods #30816
Conversation
...nt-projects/arc/runtime/src/main/java/io/quarkus/arc/impl/AroundInvokeInvocationContext.java
Show resolved
Hide resolved
dcfb0a5
to
d36c7db
Compare
This comment has been minimized.
This comment has been minimized.
It seems that failures are related. Investigating... |
d0aa755
to
0f47d18
Compare
Looks good - second and third commit are basically alignment with what Weld does as well (verified it there) but let's see what the CI has to say :) |
Thanks for verification! |
This comment has been minimized.
This comment has been minimized.
- forwarding lambdas are stateless and thus may become part of immutable InterceptedMethodMetadata - note that metadata are shared accross all invocations of an intercepted method
- that are not observers/producers
fc9c95a
to
0d3d692
Compare
This comment has been minimized.
This comment has been minimized.
✔️ 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. |
InterceptorBenchmark shows ~ 14% lower allocation rate (using JMH GC profiler) and ~ 4% better throughput.