You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2017/12/07 17:29:03 UTC

[GitHub] merlimat opened a new pull request #823: Use netty DefaultThreadFactory everywhere to take advantage of fast thread local access

merlimat opened a new pull request #823: Use netty DefaultThreadFactory everywhere to take advantage of fast thread local access
URL: https://github.com/apache/bookkeeper/pull/823
 
 
   Merging https://github.com/yahoo/bookkeeper/commit/38ff21ad8bbd8ac8ec8a4898ef9ecf473fea94b7 from Yahoo branch. 
   
   Netty has a special `FastThreadLocal` class that is used in many places (eg: when borrowing a buffer from a pool). The mechanism in which it works is that the thread has to be created from a particular thread factory to take advantage of it (it adds a couple of fields subclassing the `Thread` class).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services