Yingchun Lai has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/18229 )

Change subject: [thread] Small refactor to improve ThreadMgr performance
......................................................................

[thread] Small refactor to improve ThreadMgr performance

Move threads_started_metric_ and threads_running_metric_ out of lock and
use atomic to improve performance.

Change-Id: I219c509c5818b618e864c534bbf40cc4f9a7dc13
Reviewed-on: http://gerrit.cloudera.org:8080/18229
Reviewed-by: Alexey Serbin <[email protected]>
Tested-by: Yingchun Lai <[email protected]>
---
M src/kudu/util/thread.cc
1 file changed, 25 insertions(+), 29 deletions(-)

Approvals:
  Alexey Serbin: Looks good to me, approved
  Yingchun Lai: Verified

--
To view, visit http://gerrit.cloudera.org:8080/18229
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I219c509c5818b618e864c534bbf40cc4f9a7dc13
Gerrit-Change-Number: 18229
Gerrit-PatchSet: 3
Gerrit-Owner: Yingchun Lai <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yingchun Lai <[email protected]>

Reply via email to