You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Nicolas Peltier (JIRA)" <ji...@apache.org> on 2019/01/24 13:54:00 UTC

[jira] [Created] (SLING-8236) remove toString from ModelAdapterFactory.clearDisposalCallbackRegistryQueue debug log

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)