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.

10 lines
469 B

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