You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2021/02/16 08:49:28 UTC

[GitHub] [hbase] bharathv commented on pull request #2922: HBASE-25547: Thread pools should release unused resources

bharathv commented on pull request #2922:
URL: https://github.com/apache/hbase/pull/2922#issuecomment-779682472


   > Let's also add same comment for other 3 EventTypes?
   
   Instead moved it to the actual method. Copy-pasting it to multiple places seems redundant.
   
   > If the core threads are terminated, and if new task arrives, they are re-initiated right?
   
   JVM thread creation is expensive. It involves initializing the stack memory, creating a corresponding native thread etc.. We may not want to do it for all thread pools for performance sake. We can add other thread pools over time as we see fit but turning it on by default might have some unintended and hard to track down performance issues.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org