|
Index: folly-2019.05.06.00/folly/stats/detail/BufferedStat-defs.h
|
|
===================================================================
|
|
--- folly-2019.05.06.00.orig/folly/stats/detail/BufferedStat-defs.h
|
|
+++ folly-2019.05.06.00/folly/stats/detail/BufferedStat-defs.h
|
|
@@ -74,7 +74,6 @@ void BufferedStat<DigestT, ClockT>::doUp
|
|
TimePoint now,
|
|
const std::unique_lock<SharedMutex>& g,
|
|
UpdateMode updateMode) {
|
|
- DCHECK(g.owns_lock());
|
|
// Check that no other thread has performed the slide after the check
|
|
auto oldExpiry = expiry_.load(std::memory_order_relaxed).tp;
|
|
if (now > oldExpiry || updateMode == UpdateMode::Now) {
|