[GitHub] karaf pull request #378: Backport plugin optimizations from master

2017-09-27 Thread rovarga
GitHub user rovarga opened a pull request: https://github.com/apache/karaf/pull/378 Backport plugin optimizations from master OpenDaylight is a heavy user of feature generation and is using 4.0.9 branch currently. These fixes speed up build time considerably and should be

[GitHub] karaf pull request #377: Clean up object duplication

2017-09-26 Thread rovarga
GitHub user rovarga opened a pull request: https://github.com/apache/karaf/pull/377 Clean up object duplication This series of patches are attempts to improve resolver memory usage, which we have observed to go up to ~2GB while performing a mass install of all OpenDaylight

[GitHub] karaf pull request #376: Turn Feature.VERSION_SEPARATOR into a char

2017-09-26 Thread rovarga
GitHub user rovarga opened a pull request: https://github.com/apache/karaf/pull/376 Turn Feature.VERSION_SEPARATOR into a char String.indexOf(char) is faster than String.indexOf(String), so use char for VERSION_SEPARATOR. Signed-off-by: Robert Varga You can merge this

[GitHub] karaf pull request #368: Speed up string splitting operations

2017-09-16 Thread rovarga
Github user rovarga closed the pull request at: https://github.com/apache/karaf/pull/368 ---

[GitHub] karaf pull request #368: Speed up string splitting operations

2017-09-14 Thread rovarga
GitHub user rovarga opened a pull request: https://github.com/apache/karaf/pull/368 Speed up string splitting operations Instead of performing multiple String.indexOf(String) operations, use String.indexOf(char) and cache its result. Signed-off-by: Robert Varga You

[GitHub] karaf pull request #367: Use Map.computeIfAbsent() in map population

2017-09-14 Thread rovarga
GitHub user rovarga opened a pull request: https://github.com/apache/karaf/pull/367 Use Map.computeIfAbsent() in map population Instead of performing two lookups, perform a computeIfAbsent(), which perform a fused lookup-or-put. Signed-off-by: Robert Varga You can

[GitHub] karaf pull request #366: Speed up repository loading

2017-09-14 Thread rovarga
Github user rovarga closed the pull request at: https://github.com/apache/karaf/pull/366 ---

[GitHub] karaf pull request #366: Speed up repository loading

2017-09-14 Thread rovarga
GitHub user rovarga opened a pull request: https://github.com/apache/karaf/pull/366 Speed up repository loading toLoad is used as a java.util.Queue, but is backed by an ArrayList, which is highly inefficient when large number of items are present. Turn it into a Queue

[GitHub] karaf pull request #336: Optimize GenerateDescriptorMojo

2017-08-13 Thread rovarga
GitHub user rovarga opened a pull request: https://github.com/apache/karaf/pull/336 Optimize GenerateDescriptorMojo OpenDaylight typically processes deeply nested feature.xmls, which takes significant time. This PR optimizes GenerateDescriptorMojo, reducing build time observed by

[GitHub] karaf pull request #296: [KARAF-5107] Add DeploymentListener

2017-04-27 Thread rovarga
GitHub user rovarga opened a pull request: https://github.com/apache/karaf/pull/296 [KARAF-5107] Add DeploymentListener This adds the capability for external components to hook into the Deployer machinery, so they can perform operations at opportune moments. Signed

[GitHub] karaf pull request #279: Add Aries Quiesce to aries-blueprint

2017-02-14 Thread rovarga
Github user rovarga closed the pull request at: https://github.com/apache/karaf/pull/279 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is

[GitHub] karaf pull request #282: Expose Dependency.hasVersion()

2017-02-14 Thread rovarga
GitHub user rovarga opened a pull request: https://github.com/apache/karaf/pull/282 Expose Dependency.hasVersion() Since Dependency.getVersion() behaves the same as Feature.getVersion() by returning "0.0.0" when no version is set, users attempting to examine de

[GitHub] karaf pull request #281: Add Dependecy.hasVersion()

2017-02-14 Thread rovarga
Github user rovarga closed the pull request at: https://github.com/apache/karaf/pull/281 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is

[GitHub] karaf pull request #281: Add Dependecy.hasVersion()

2017-02-14 Thread rovarga
GitHub user rovarga opened a pull request: https://github.com/apache/karaf/pull/281 Add Dependecy.hasVersion() Dependency.getVersion() behaves exactly like Feature.getVersion(), masking unspecified versions to "0.0.0". This is forcing potential users to perform

[GitHub] karaf pull request #279: Add Aries Quiesce to aries-blueprint

2017-02-05 Thread rovarga
GitHub user rovarga opened a pull request: https://github.com/apache/karaf/pull/279 Add Aries Quiesce to aries-blueprint Signed-off-by: Robert Varga You can merge this pull request into a Git repository by running: $ git pull https://github.com/rovarga/karaf quiesce