[ 
https://issues.apache.org/jira/browse/SLING-8236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16751149#comment-16751149
 ] 

Nicolas Peltier commented on SLING-8236:
----------------------------------------

https://github.com/apache/sling-org-apache-sling-models-impl/pull/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
>            Priority: Major
>          Time Spent: 10m
>  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)

Reply via email to