-
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 - load removed beans lazily #28112
Conversation
mkouba
commented
Sep 21, 2022
- only if Instance#get(), InjectableInstance#getHandle() and ArcContainer.instance() is called
- added InjectableInstance.orElse() and InjectableInstance.orNull()
- resolves Avoid loading the list of ArC removed beans into the heap #18345
I'm investigating the |
This comment has been minimized.
This comment has been minimized.
I've reverted the change in |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
independent-projects/arc/runtime/src/main/java/io/quarkus/arc/InjectableInstance.java
Show resolved
Hide resolved
...ojects/arc/processor/src/main/java/io/quarkus/arc/processor/ComponentsProviderGenerator.java
Outdated
Show resolved
Hide resolved
...ns/arc/deployment/src/test/java/io/quarkus/arc/test/unused/ArcLookupProblemDetectedTest.java
Show resolved
Hide resolved
extensions/arc/deployment/src/main/java/io/quarkus/arc/deployment/ArcProcessor.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, though I didn't really look at the generated bytecode :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice change, LGTM!
This comment has been minimized.
This comment has been minimized.
- only if Instance#get(), InjectableInstance#getHandle() and ArcContainer.instance() is called - added InjectableInstance.orElse() and InjectableInstance.orNull() - resolves quarkusio#18345
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
- this warning got accidentally removed in quarkusio#28112 (quarkus 2.14)
- this warning got accidentally removed in quarkusio#28112 (quarkus 2.14) (cherry picked from commit c1e6248)
- this warning got accidentally removed in quarkusio#28112 (quarkus 2.14) (cherry picked from commit c1e6248)