Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
9.0.0
-
None
Description
My profiler shows a significant amount of allocations and list resizing coming from PageParameters.mergeWith.
The method unnecessarily creates ArrayLists, TreeSets, unmodifiable wrappers, and does not size the underlying list of NamedPair correctly when merging page parameters with multiple values.
It can be called hundreds of times per request for applications with a high number of mounted pages and resources.