You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/04/01 01:26:41 UTC
[jira] [Commented] (THRIFT-4151) Thrift Mutex Contention Profiling
(pthreads) should be disabled by default
[ https://issues.apache.org/jira/browse/THRIFT-4151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15951901#comment-15951901 ]
ASF GitHub Bot commented on THRIFT-4151:
----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/thrift/pull/1229
> Thrift Mutex Contention Profiling (pthreads) should be disabled by default
> --------------------------------------------------------------------------
>
> Key: THRIFT-4151
> URL: https://issues.apache.org/jira/browse/THRIFT-4151
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Affects Versions: 0.10.0
> Environment: pthreads
> Reporter: James E. King, III
> Assignee: James E. King, III
> Priority: Minor
> Fix For: 0.11.0
>
>
> The default behavior for the concurrency::Mutex class (pthread implementation) is to track concurrency profiling and report to a callback routine every so often. Given this is in a critical performance section of code I would recommend that the default should be to keep this code disabled, and folks can enable it if they want to for their distribution.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)