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

Method Init

be/src/codegen/llvm-codegen-cache.cc:100–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 codegen_cache_entries_in_use_, codegen_cache_entries_in_use_bytes_)) {}
99
100Status CodeGenCache::Init(int64_t capacity) {
101 DCHECK(cache_ == nullptr);
102 cache_.reset(NewCache(Cache::EvictionPolicy::LRU, capacity, "CodeGen_Cache"));
103 return cache_->Init();
104}
105
106void CodeGenCache::ReleaseResources() {
107 if (cache_ != nullptr) cache_.reset();

Callers

nothing calls this directly

Calls 2

NewCacheFunction · 0.85
resetMethod · 0.65

Tested by

no test coverage detected