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

Method TrackAllocation

be/src/udf/udf.cc:431–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429}
430
431void FunctionContext::TrackAllocation(int64_t bytes) {
432 assert(!impl_->closed_);
433 impl_->external_bytes_tracked_ += bytes;
434 impl_->udf_pool_->mem_tracker()->Consume(bytes);
435 impl_->CheckMemLimit("FunctionContext::TrackAllocation", bytes);
436}
437
438void FunctionContext::Free(int64_t bytes) {
439 assert(!impl_->closed_);

Callers 4

MemTestUpdateFunction · 0.80
MemTestMergeFunction · 0.80
MemTestFunction · 0.80
DoubleFreeTestFunction · 0.80

Calls 3

CheckMemLimitMethod · 0.80
ConsumeMethod · 0.45
mem_trackerMethod · 0.45

Tested by 4

MemTestUpdateFunction · 0.64
MemTestMergeFunction · 0.64
MemTestFunction · 0.64
DoubleFreeTestFunction · 0.64