Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/impala
/ Clear
Method
Clear
be/src/common/object-pool.h:45–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
43
}
44
45
void Clear() {
46
std::lock_guard<SpinLock> l(lock_);
47
for (Element& elem : objects_) elem.delete_fn(elem.obj);
48
objects_.clear();
49
}
50
51
private:
52
DISALLOW_COPY_AND_ASSIGN(ObjectPool);
Callers
2
StatusToProto
Function · 0.45
TearDown
Method · 0.45
Calls
1
clear
Method · 0.65
Tested by
1
TearDown
Method · 0.36