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

Method Close

be/src/codegen/llvm-codegen.cc:523–536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521}
522
523void LlvmCodeGen::Close() {
524 if (async_compile_thread_ != nullptr) async_compile_thread_->Join();
525
526 if (memory_manager_ != nullptr) {
527 mem_tracker_->Release(memory_manager_->bytes_tracked());
528 memory_manager_ = nullptr;
529 }
530 if (mem_tracker_ != nullptr) mem_tracker_->Close();
531 engine_cache_.reset();
532 engine_cache_cached_.reset();
533 execution_engine_.reset();
534 symbol_emitter_.reset();
535 module_ = nullptr;
536}
537
538void LlvmCodeGen::EnableOptimizations(bool enable) {
539 optimizations_enabled_ = enable;

Callers 14

CheckResultMethod · 0.45
CreateObjCacheMethod · 0.45
TestBasicFunctionMethod · 0.45
TestAtCapacityMethod · 0.45
TestSkipCacheMethod · 0.45
TestSwitchModeHelperMethod · 0.45
StoreHelperMethod · 0.45
InitializeLlvmMethod · 0.45
CreateFromFileMethod · 0.45
CreateFromMemoryMethod · 0.45
GetSymbolsMethod · 0.45
LifetimeTestMethod · 0.45

Calls 4

bytes_trackedMethod · 0.80
resetMethod · 0.65
JoinMethod · 0.45
ReleaseMethod · 0.45

Tested by 10

CheckResultMethod · 0.36
CreateObjCacheMethod · 0.36
TestBasicFunctionMethod · 0.36
TestAtCapacityMethod · 0.36
TestSkipCacheMethod · 0.36
TestSwitchModeHelperMethod · 0.36
StoreHelperMethod · 0.36
LifetimeTestMethod · 0.36
TEST_FFunction · 0.36
TEST_PFunction · 0.36