[logback-dev] [JIRA] (LOGBACK-1509) TargetLengthBasedClassNameAbbreviator allocates lots of String

QOS.CH (JIRA) noreply-jira at qos.ch
Thu Mar 12 13:12:00 CET 2020


Michael Skells created LOGBACK-1509:
---------------------------------------

             Summary: TargetLengthBasedClassNameAbbreviator allocates lots of String
                 Key: LOGBACK-1509
                 URL: https://jira.qos.ch/browse/LOGBACK-1509
             Project: logback
          Issue Type: Improvement
          Components: logback-classic
         Environment:  

 
            Reporter: Michael Skells
            Assignee: Logback dev list


In our internal application this account for 30% of all string allocation. 
It looks to me that the `TargetLengthBasedClassNameAbbreviator`, or probably all `Abbreviator` should cache the result for a class, rather than generate more memory pressure



--
This message was sent by Atlassian JIRA
(v7.3.1#73012)


More information about the logback-dev mailing list