Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5589

reduce memory usage of BundleRequirementImpl / BundleCapabilityImpl

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • framework-5.6.2
    • framework-5.6.4
    • Framework
    • None

    Description

      Currently BundleRequirementImpl and BundleCapabilityImpl might allocate new immutable maps when params are empty. This was pointed out by a profiling session.
      the fix is easy: use Collections.EMPTY_MAP

      (pr coming)

      Attachments

        Issue Links

          Activity

            People

              karlpauls Karl Pauls
              fabianlange Fabian Lange
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: