You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
641 B

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