Brian Stansberry created WFLY-9177:
--------------------------------------
Summary: Inefficient use of OperationContext.readResourceFromRoot
Key: WFLY-9177
URL:
https://issues.jboss.org/browse/WFLY-9177
Project: WildFly
Issue Type: Bug
Reporter: Brian Stansberry
Assignee: Brian Stansberry
The single param OperationContext.readResourceFromRoot(...) variant can be quite
expensive, as can be the 2 param variant if the 'recursive' param is true. The op
returns a clone of the management model, and creating the clone can be expensive if the
cloning is recursive and the affected tree is large.
There are a lot of calls like this in full WildFly that look like they could use the 2
param variant with recursive = false. Some of these are cloning the entire resource tree.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)