aboutsummaryrefslogtreecommitdiffhomepage
path: root/memprof/memprof.cpp
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2023-03-14 15:55:03 +0300
committerlevlam <levlam@telegram.org>2023-03-14 15:55:03 +0300
commitc602c09f7917a2e1ef3f7e48d7bb8413397a4556 (patch)
tree40b1dee136c992e01af343f405ef218f0653afc6 /memprof/memprof.cpp
parent1673d2366b46a9e8b4c128ad8dfccd277b90b43b (diff)
Increase backtrace hashtable size.
Diffstat (limited to 'memprof/memprof.cpp')
-rw-r--r--memprof/memprof.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/memprof/memprof.cpp b/memprof/memprof.cpp
index 6f6cb93c0..334a072f2 100644
--- a/memprof/memprof.cpp
+++ b/memprof/memprof.cpp
@@ -143,7 +143,7 @@ struct HashtableNode {
std::atomic<std::size_t> size;
};
-static constexpr std::size_t HT_MAX_SIZE = 1000000;
+static constexpr std::size_t HT_MAX_SIZE = 10000000;
static std::atomic<std::size_t> ht_size{0};
static std::array<HashtableNode, HT_MAX_SIZE> ht;