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

Method TearDown

be/src/runtime/bufferpool/suballocator-test.cc:56–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 }
55
56 virtual void TearDown() override {
57 for (unique_ptr<BufferPool::ClientHandle>& client : clients_) {
58 buffer_pool_->DeregisterClient(client.get());
59 }
60 clients_.clear();
61 buffer_pool_.reset();
62 global_reservation_.Close();
63 obj_pool_.Clear();
64 }
65
66 /// The minimum buffer size used in most tests. Chosen so that the buffer is split
67 /// at least several ways.

Callers

nothing calls this directly

Calls 6

DeregisterClientMethod · 0.80
getMethod · 0.65
clearMethod · 0.65
resetMethod · 0.65
CloseMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected