Do not attempt to process files when there are none#65
Do not attempt to process files when there are none#65set321go wants to merge 10000 commits intoapache:trunkfrom
Conversation
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1730332 13f79535-47bb-0310-9956-ffa450edef68
…s not found. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1730334 13f79535-47bb-0310-9956-ffa450edef68
- added a configType attribute in FactoryConfigurationAdapterService annotation. - when using a config type with ConfigurationDependency, then assume that pid is set to the fqdn of the provided config type, in case no pid has already been set using setPid method. - code cleanup. - adapted samples to use configuration type. - added javadocs. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1730934 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731124 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731142 13f79535-47bb-0310-9956-ffa450edef68
…library: - renamed the DependencyManagerActivator.activate() method to init(BundleContext ctx, DependencyManager dm) - Removed abbreviated names like "cb()" or "cbi" methods, and replaced them with niced method names like "add()/changed()/removed()" ... - Added a system property "org.apache.felix.dependencymanager.lambda.dependencymode" that allows to control the default mode of dependency (still to be discussed). - added full support or new configuration types. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731147 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731238 13f79535-47bb-0310-9956-ffa450edef68
…adapter component for the factory pid adapter. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731456 13f79535-47bb-0310-9956-ffa450edef68
…oxy() method has been added in order to allow to create configuration types from any DM custom dependencies. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731457 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731467 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731470 13f79535-47bb-0310-9956-ffa450edef68
…stopped. FELIX-5193: Factory Pid Adapter race condition when component is stopped. Removed Eclipse warnings. Reworked the way configuration exception is handled. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731471 13f79535-47bb-0310-9956-ffa450edef68
… dm-lambda samples. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731476 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731614 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731615 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731668 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731691 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731695 13f79535-47bb-0310-9956-ffa450edef68
…d insist on R5 ca git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731776 13f79535-47bb-0310-9956-ffa450edef68
…to ComponentContext.createConfigurationProxy.createConfigurationType. Fixed some javadocs. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731979 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731988 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731989 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731992 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731993 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1731994 13f79535-47bb-0310-9956-ffa450edef68
…omponentBuilder. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1732038 13f79535-47bb-0310-9956-ffa450edef68
…exception Fixed using 'active' flag. Unit test included. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1732445 13f79535-47bb-0310-9956-ffa450edef68
…exception Improved the thread safety of this fix. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1732453 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1732652 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1732653 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743317 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743318 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743319 13f79535-47bb-0310-9956-ffa450edef68
…SlingFilter order element. Apply patch from Konrad Windszus git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743324 13f79535-47bb-0310-9956-ffa450edef68
…clipse. Apply second patch from Stefan Seifert git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743325 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743459 13f79535-47bb-0310-9956-ffa450edef68
…-1.14.0 git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743460 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743462 13f79535-47bb-0310-9956-ffa450edef68
…ns-1.10.0 git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743464 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743466 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743468 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743469 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743471 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743472 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743473 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743474 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743476 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743477 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743484 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743494 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743499 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743515 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743541 13f79535-47bb-0310-9956-ffa450edef68
… of compatible type git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743542 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1743549 13f79535-47bb-0310-9956-ffa450edef68
|
This is a semantics change, as previously the call would cause failures to be re-tried. should failures be empty and files be empty the code would be actually fast. as I have profiled fileinstall and was responsible for some of the improvements in 3.5.4, i would like to see the profile, maybe i am missing something. |
|
I'm not sure what you mean. Looking at I can get some of the profiling data next week, I don't have it here. |
|
@set321go out of coincidence my profiling arrived now also here as optimization candidate, so I had a look at it. so a change I would approve is which would not do much, but avoid locking. |
I tried to create a ticket for this but I can't create tickets in ASF jira.
Fileinstall was surprisingly at the top of the hotspot list while profiling today while running fileinstall 3.5.0 after upgrading to 3.5.4 there were some improvements. Even after stretching the polling from the default 2sec to 60sec it still used a lot of cpu. My file install directory contains 4 config files and no subdirectories.
This change prevents
processbeing called whenfilesis empty which is most of the time.I also noticed locally that during a poll this line of code was called multiple times (usually 4).