sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Peltier (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SLING-8236) remove toString from ModelAdapterFactory.clearDisposalCallbackRegistryQueue debug log
Date Thu, 24 Jan 2019 14:22:00 GMT

     [ 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)

Mime
View raw message