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

reduce memory usage of BundleRequirementImpl / BundleCapabilityImpl

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: framework-5.6.2
    • Fix Version/s: framework-5.6.4
    • Component/s: Framework
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: