-
Task
-
Resolution: Done
-
Major
-
4.3.0.Beta2
-
None
Methods resolveVariables(), resolveELOperand() in all EL resolvers create a new instance of ArrayList, even if it turns out that there is nothing to return. Moreover, in some cases several new instances are created. Such practice creates a great load on memory and performance at full build of a big workspace.
We probably have many other places that unnecessarily create new instances of lists, sets, map and other classes, our code should be revised for it. This issue only covers most often called methods in EL resolvers that really may affect performance.