diff --git a/include/boost/unordered/detail/foa/concurrent_table.hpp b/include/boost/unordered/detail/foa/concurrent_table.hpp index 3557d7ab..896fa632 100644 --- a/include/boost/unordered/detail/foa/concurrent_table.hpp +++ b/include/boost/unordered/detail/foa/concurrent_table.hpp @@ -56,7 +56,7 @@ #include #endif -std::atomic garbage_vector_full=0; +std::atomic nodes_wasted=0; namespace boost{ namespace unordered{ @@ -521,7 +521,7 @@ public: } } - garbage_vector_full=0; + nodes_wasted=0; #endif } @@ -572,12 +572,12 @@ public: } std::cout - <<"version: 2024/01/26 11:15; " + <<"version: 2024/01/27 11:50; " <<"lf: "<<(double)size()/capacity()<<"; " <<"capacity: "<destroy_element(&x); ++v.apos; @@ -2077,7 +2078,6 @@ private: if(expected==retired_element::reserved_){ /* other thread wrote */ } else{ /* vector full */ - ++garbage_vector_full; garbage_collect(v,max_safe_epoch()); } }