MCPcopy Create free account
hub / github.com/apache/arrow / GetAllocator

Method GetAllocator

cpp/src/arrow/memory_pool_benchmark.cc:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32#ifdef ARROW_JEMALLOC
33struct Jemalloc {
34 static Result<MemoryPool*> GetAllocator() {
35 MemoryPool* pool;
36 RETURN_NOT_OK(jemalloc_memory_pool(&pool));
37 return pool;
38 }
39};
40#endif
41

Callers 6

SetStringMethod · 0.45
SetBoolMethod · 0.45
SerializeMethod · 0.45
SerializeMethod · 0.45
SerializeMethod · 0.45
VisitMethod · 0.45

Calls 1

jemalloc_memory_poolFunction · 0.85

Tested by

no test coverage detected