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

Method AddCleanPage

be/src/runtime/bufferpool/buffer-allocator.cc:445–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

443}
444
445void BufferPool::BufferAllocator::AddCleanPage(
446 const unique_lock<mutex>& client_lock, Page* page) {
447 page->client->DCheckHoldsLock(client_lock);
448 FreeBufferArena* arena = per_core_arenas_[page->buffer.home_core_].get();
449 arena->AddCleanPage(page);
450}
451
452bool BufferPool::BufferAllocator::RemoveCleanPage(
453 const unique_lock<mutex>& client_lock, bool claim_buffer, Page* page) {

Callers 1

WriteCompleteCallbackMethod · 0.80

Calls 11

DecreaseBytesRemainingFunction · 0.85
moveFunction · 0.85
DCheckHoldsLockMethod · 0.80
getMethod · 0.65
LoadMethod · 0.45
sizeMethod · 0.45
emptyMethod · 0.45
AddFreeBufferMethod · 0.45
DequeueMethod · 0.45
EnqueueMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected