MCPcopy Create free account
hub / github.com/apache/impala / Unref

Method Unref

be/src/kudu/util/nvm_cache.cc:388–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386}
387
388bool NvmLRUCache::Unref(LRUHandle* e) {
389 DCHECK_GT(ANNOTATE_UNPROTECTED_READ(e->refs), 0);
390 return !base::RefCountDec(&e->refs);
391}
392
393void NvmLRUCache::FreeEntry(LRUHandle* e) {
394 DCHECK_EQ(ANNOTATE_UNPROTECTED_READ(e->refs), 0);

Callers

nothing calls this directly

Calls 2

RefCountDecFunction · 0.85

Tested by

no test coverage detected