forked from apache/felix
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Another kinda hardcore optimization We're now also caching this call in the ServiceUsage threadlocal, even if called outside of a component - as this is the case where we actually needed the optimization Note that the counters (inc()/dev()) done on the Usages could be removed since we're basically not using them any longer and using a WeakHashMap instead, hoping the GC will help us clean out the cached services
- Loading branch information
Showing
2 changed files
with
27 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters