]
Brian Stansberry reopened WFCORE-2895:
--------------------------------------
I'm reopening this as I don't see any point in creating a new JIRA for the further
work I'm going to do on this.
Save memory in RuntimeCapability ServiceName creation
-----------------------------------------------------
Key: WFCORE-2895
URL:
https://issues.jboss.org/browse/WFCORE-2895
Project: WildFly Core
Issue Type: Enhancement
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: 3.0.0.Beta24
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.