From f3f01e33f4be9952e747a99d38dea77efbfe9bb8 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Tue, 26 Dec 2023 18:01:36 +0100 Subject: [PATCH] fined-tuned gc dimensions --- include/boost/unordered/detail/foa/concurrent_table.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/foa/concurrent_table.hpp b/include/boost/unordered/detail/foa/concurrent_table.hpp index e8d06366..cdd9d3f3 100644 --- a/include/boost/unordered/detail/foa/concurrent_table.hpp +++ b/include/boost/unordered/detail/foa/concurrent_table.hpp @@ -1946,7 +1946,7 @@ private: }; struct garbage_vector { - static constexpr std::size_t N=128; + static constexpr std::size_t N=256; static constexpr std::size_t min_for_epoch_bump=64; using ssize_t=std::make_signed::type; @@ -1964,6 +1964,7 @@ private: mutable std::array garbage_vectors; epoch_type current_epoch=1; + unsigned char pad_[cacheline_size-sizeof(epoch_type)]; std::size_t max_probe=default_max_probe; garbage_vector& local_garbage_vector()const