Brian Stansberry created WFCORE-2900:
----------------------------------------
Summary: Cut memory use by AttributeDefinition.arbitraryDescriptors
Key: WFCORE-2900
URL:
https://issues.jboss.org/browse/WFCORE-2900
Project: WildFly Core
Issue Type: Enhancement
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Priority: Minor
Currently AttributeDefinition.arbitraryDescriptors is:
private final Map<String, ModelNode> arbitraryDescriptors = new HashMap<>();
In most cases that can be Collections.emptyMap(), and if not it can be an unmodifiable map
saving the need to allocate an unmodifiable wrapper every time the getter is called.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)