You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/05/14 09:48:17 UTC
[Bug 56521] Reuse the output buffer in AbstractServeletOutputBuffer
https://issues.apache.org/bugzilla/show_bug.cgi?id=56521
leonzhx@hotmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Catalina |Servlet & JSP API
--- Comment #1 from leonzhx@hotmail.com ---
in AbstractServletOutputStream, there is an output buffer to save the unwritten
bytes for one write in non-blocking mode. However the buffer is allocate each
time it's needed and will cause many unnecessary trash. We observed it during
our performance testing when the server runs for long time at high TPS, the GC
over head is getting larger. After improvement the GC overhead is lowered and
CPU usage is also lowered with same TPS.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org