Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1509

TargetLengthBasedClassNameAbbreviator allocates lots of Strings

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0-alpha7
    • Component/s: logback-classic
    • Labels:
      None
    • Environment:

       

       

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ceki Ceki Gülcü
              Reporter:
              mikeskells Michael Skells
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: