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

Method FreeBuffer

be/src/runtime/bufferpool/buffer-pool.cc:256–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256void BufferPool::FreeBuffer(ClientHandle* client, BufferHandle* handle) {
257 if (!handle->is_open()) return; // Should be idempotent.
258 DCHECK_EQ(client, handle->client_);
259 int64_t len = handle->len_;
260 allocator_->Free(move(*handle));
261 client->impl_->FreedBuffer(len);
262}
263
264Status BufferPool::TransferBuffer(ClientHandle* src_client, BufferHandle* src,
265 ClientHandle* dst_client, BufferHandle* dst) {

Callers 9

~RowBatchMethod · 0.45
FreeBuffersMethod · 0.45
FreeMethod · 0.45
AllocateAndFreeMethod · 0.45
FreeBuffersMethod · 0.45
TestBufferAllocationMethod · 0.45
TEST_FFunction · 0.45
FreeMethod · 0.45

Calls 4

moveFunction · 0.85
FreedBufferMethod · 0.80
is_openMethod · 0.45
FreeMethod · 0.45

Tested by 5

AllocateAndFreeMethod · 0.36
FreeBuffersMethod · 0.36
TestBufferAllocationMethod · 0.36
TEST_FFunction · 0.36