[ 
https://issues.apache.org/jira/browse/LOG4J2-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15648118#comment-15648118
 ] 

Remko Popma commented on LOG4J2-1684:
-------------------------------------

Ok, understood.

Fortunately both {{getFormattedMessage}} or {{formatTo(StringBuilder)}} pass a 
null structuredDataId, which results in no allocation.

> (GC) Avoid allocating temporary objects in StructuredDataMessage
> ----------------------------------------------------------------
>
>                 Key: LOG4J2-1684
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1684
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: API
>    Affects Versions: 2.7
>            Reporter: Remko Popma
>
> Make StructuredDataMessage garbage-free.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to