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

Method Close

be/src/runtime/mem-tracker.cc:132–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132void MemTracker::Close() {
133 if (closed_) return;
134 if (consumption_metric_ == nullptr) {
135 DCHECK_EQ(consumption_->current_value(), 0) << label_ << "\n"
136 << GetStackTrace() << "\n"
137 << LogUsage(UNLIMITED_DEPTH);
138 }
139 closed_ = true;
140}
141
142void MemTracker::CloseAndUnregisterFromParent() {
143 Close();

Callers

nothing calls this directly

Calls 2

GetStackTraceFunction · 0.50
current_valueMethod · 0.45

Tested by

no test coverage detected