You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by "coheigea (via GitHub)" <gi...@apache.org> on 2026/10/16 13:13:51 UTC
[PR] CXF-7641: Reduce allocations in CachingXmlEventWriter [cxf]
coheigea opened a new pull request, #3592:
URL: https://github.com/apache/cxf/pull/3592
When CXF has to buffer an outbound message (for example, when schema validation of responses is enabled), CachingXmlEventWriter used to create a new namespace context and map for every XML element, even though almost no elements declare namespaces. The patch creates one only when an element actually declares a namespace, which cuts total allocation by about 19% for large messages and reduces garbage-collection work. Namespace scoping is unchanged, and a test covers it.
This is only a partial improvement for this issue.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cxf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CXF-7641: Reduce allocations in CachingXmlEventWriter [cxf]
Posted by "coheigea (via GitHub)" <gi...@apache.org>.
coheigea merged PR #3592:
URL: https://github.com/apache/cxf/pull/3592
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cxf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org