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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.1
    • 2.6.2
    • API
    • 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

              rpopma Remko Popma
              rpopma Remko Popma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: