jojochuang opened a new pull request, #5908: URL: https://github.com/apache/ozone/pull/5908
## What changes were proposed in this pull request? Block token is serialized for every output stream client request. Cache it to avoid the waste. Please describe your PR in detail: The profiler report found that a noticeable amount of heap allocation is attributed to block token serialization. Because the block token is never updated, we can cache the serialized block token once and it use it repeatedly. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-10003 ## How was this patch tested? Verified on a real cluster that the heap allocation is removed. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
