summaryrefslogtreecommitdiff
path: root/src/mongo/util/latch_analyzer.h
diff options
context:
space:
mode:
authorBen Caimano <ben.caimano@10gen.com>2020-01-29 18:34:54 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-01-30 00:07:42 +0000
commit28d4d9cb69b68c759a76851675390cec29855a28 (patch)
treec551c33cb8ebdd3fab9fe56b6366f18c8b5b0039 /src/mongo/util/latch_analyzer.h
parent84dc6fcc49eb679c7fe7a5614f496c65e95576fb (diff)
downloadmongo-28d4d9cb69b68c759a76851675390cec29855a28.tar.gz
Revert "SERVER-45793 Improve mongo::Mutex contract"
This reverts commit 695146e648e032e04d97bb0b4de873272c242f04.
Diffstat (limited to 'src/mongo/util/latch_analyzer.h')
-rw-r--r--src/mongo/util/latch_analyzer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/util/latch_analyzer.h b/src/mongo/util/latch_analyzer.h
index 328e5549695..41f41dca15f 100644
--- a/src/mongo/util/latch_analyzer.h
+++ b/src/mongo/util/latch_analyzer.h
@@ -44,11 +44,11 @@ namespace mongo {
* LatchAnalyzer is a ServiceContext decoration that aggregates latch events
*
* This class is intended to provide a platform for hierarchical analysis on latches. To that end,
- * onContention(), onAcquire(), and onRelease() are currently called by a
- * latch_detail::DiagnosticListener subclass defined in source. This class does much more work for
- * each event when the enableLatchAnalysis failpoint is set to "alwaysOn". This failpoint provides a
- * wealth of data for future analysis, but involves additional mutexes and mapping structures that
- * may prove too costly for production usage at the least.
+ * onContention(), onAcquire(), and onRelease() are currently called by a Mutex::LockListener
+ * subclass defined in source. This class does much more work for each event when the
+ * enableLatchAnalysis failpoint is set to "alwaysOn". This failpoint provides a wealth of data for
+ * future analysis, but involves additional mutexes and mapping structures that may prove too costly
+ * for production usage at the least.
*/
class LatchAnalyzer {
public: