[jboss-jira] [JBoss JIRA] (WFCORE-921) Remove n2 model node cloning in ServerOperationResolver
RH Bugzilla Integration (JIRA)
issues at jboss.org
Thu Aug 27 18:10:05 EDT 2015
[ https://issues.jboss.org/browse/WFCORE-921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
RH Bugzilla Integration updated WFCORE-921:
-------------------------------------------
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1257692
Bugzilla Update: Perform
> Remove n2 model node cloning in ServerOperationResolver
> -------------------------------------------------------
>
> Key: WFCORE-921
> URL: https://issues.jboss.org/browse/WFCORE-921
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 2.0.0.Beta4
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
> Fix For: 2.0.0.Beta5
>
>
> ServerOperationResolver gets called for each operation in a composite.
> For each call it clones the configuration model.
> It then calls node.asPropertyList() in various spots, which in turn results in a clone of the value of each Property. In particular it does this over the profiles, which means each profile gets cloned.
> For very large configurations, this is extremely inefficient. One user was experimenting with adding 1000s of data sources and found it would take over an hour to complete the work. I was able to do it in 30 seconds by correcting these problems.
> There are other areas where we may be incurring unneeded expense via calls to node.asPropertyList().
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list