Nicolas Peltier created SLING-8236:
--------------------------------------

             Summary: 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


{{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