Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1437

ObjectMessage and ReusableObjectMessage should avoid calling toString() on auto-boxed primitives

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.1
    • Fix Version/s: 2.6.2
    • Component/s: API
    • Labels:
      None

      Description

      In the formatTo(StringBuilder) message, we should unbox the boxed primitives and append the primitive value to the StringBuilder to avoid allocating additional temporary objects.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                remkop@yahoo.com Remko Popma
                Reporter:
                remkop@yahoo.com Remko Popma
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: