MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / CallTraceStorage

Method CallTraceStorage

src/callTraceStorage.cpp:86–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84CallTrace CallTraceStorage::_overflow_trace = {1, {BCI_ERROR, LP64_ONLY(0 COMMA) (jmethodID)"storage_overflow"}};
85
86CallTraceStorage::CallTraceStorage() : _allocator(CALL_TRACE_CHUNK) {
87 _current_table = LongHashTable::allocate(NULL, INITIAL_CAPACITY);
88 _used_memory = _current_table->usedMemory();
89 _mem_limit = SIZE_MAX;
90 _overflow = 0;
91}
92
93CallTraceStorage::~CallTraceStorage() {
94 while (_current_table != NULL) {

Callers

nothing calls this directly

Calls 1

usedMemoryMethod · 0.45

Tested by

no test coverage detected