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

Method Release

be/src/util/cache/rl-cache.cc:371–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369
370template<Cache::EvictionPolicy policy>
371void RLCacheShard<policy>::Release(HandleBase* handle) {
372 DCHECK(initialized_);
373 RLHandle* e = static_cast<RLHandle*>(handle);
374 bool last_reference = Unref(e);
375 if (last_reference) {
376 FreeEntry(e);
377 }
378}
379
380template<Cache::EvictionPolicy policy>
381HandleBase* RLCacheShard<policy>::Insert(

Callers 4

TESTFunction · 0.45
ReleaseBytesMethod · 0.45
ReleaseBytesMethod · 0.45
operator()Method · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36