Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- is cloned by
-
JBEAP-12541 Inefficient use of OperationContext.readResourceFromRoot
- Verified