Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-8236

remove toString from ModelAdapterFactory.clearDisposalCallbackRegistryQueue debug log

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Models Impl 1.4.10
    • Models Impl 1.4.12
    • General
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              npeltier Nicolas Peltier
              npeltier Nicolas Peltier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m