[
https://issues.apache.org/jira/browse/SLING-8236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicolas Peltier resolved SLING-8236.
------------------------------------
Resolution: Fixed
Assignee: Nicolas Peltier
Fix Version/s: Sling Models Impl 1.4.12
> remove toString from ModelAdapterFactory.clearDisposalCallbackRegistryQueue
> debug log
> --------------------------------------------------------------------------------------
>
> Key: SLING-8236
> URL: https://issues.apache.org/jira/browse/SLING-8236
> Project: Sling
> Issue Type: Improvement
> Components: General
> Affects Versions: Sling Models Impl 1.4.10
> Reporter: Nicolas Peltier
> Assignee: Nicolas Peltier
> Priority: Major
> Fix For: Sling Models Impl 1.4.12
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {{log.debug("calling disposal for {}.", ref.toString());}}
> itself is responsible for huge char[] allocation. Removing it is very quick
> and painless perf improvement (figures coming ahead), as toString will be
> called as well, but only in debug mode.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)