Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2895

Save memory in RuntimeCapability ServiceName creation

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 3.0.0.Beta24
    • None
    • Management
    • None

    Description

      RuntimeCapability.fromBaseCapability results in a new RuntimeCapability that creates its ServiceName by parsing the base capability's string name instead of using its existing ServiceName. This wastes memory since the strings end up being duplicated.

      Also RuntimeCapability should not create a ServiceName if the cap has no serviceValueType.

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: