Investigation of performance degradation of jemalloc

This commit is contained in:
Alexey Milovidov 2019-01-10 16:26:57 +03:00
parent b4a310b22e
commit 7fc85d1ff0

View File

@ -24,7 +24,7 @@ void thread_func()
abort(); abort();
buf = new_buf; buf = new_buf;
memset(buf + size, 0, next_size - size); memset(reinterpret_cast<char*>(buf) + size, 0, next_size - size);
size = next_size; size = next_size;
} }