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

Method ReleaseBytes

be/src/util/dict-encoding.h:139–146  ·  view source on GitHub ↗

Function to decrement the byte counter and decrease the bytes usage of the memory tracker.

Source from the content-addressed store, hash-verified

137 /// Function to decrement the byte counter and decrease the bytes usage
138 /// of the memory tracker.
139 void ReleaseBytes() {
140 if (dict_mem_tracker_ != nullptr) {
141 dict_mem_tracker_->Release(dict_bytes_cnt_memtrack_);
142 dict_bytes_cnt_ = 0;
143 dict_bytes_cnt_memtrack_ = 0;
144 num_call_track_ = 0;
145 }
146 }
147
148 /// Used by dict-test.cc to check the usage of bytes by dictionary
149 /// is properly accounted.

Callers

nothing calls this directly

Calls 1

ReleaseMethod · 0.45

Tested by

no test coverage detected