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

Method ReleaseLocal

be/src/runtime/mem-tracker.h:166–170  ·  view source on GitHub ↗

Same as above, but it decreases the consumption.

Source from the content-addressed store, hash-verified

164
165 /// Same as above, but it decreases the consumption.
166 void ReleaseLocal(int64_t bytes, MemTracker* end_tracker) {
167 DCHECK_GE(bytes, 0);
168 if (UNLIKELY(bytes < 0)) return; // needed in RELEASE, hits DCHECK in DEBUG
169 ChangeConsumption(-bytes, end_tracker);
170 }
171
172 /// Increases consumption of this tracker and its ancestors by 'bytes' only if
173 /// they can all consume 'bytes' without exceeding limit (hard or soft) specified

Callers 1

ReleaseToMemTrackerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected