HP and DHP SMR totally refactored
[libcds.git] / test / unit / set / michael_michael_dhp.cpp
index c678772fcb2a85ba7741cbaf7116949496b6d05e..327082a2de64e980feba79da844db16622138cf4 100644 (file)
@@ -47,14 +47,14 @@ namespace {
             typedef cc::MichaelList< gc_type, int_item > list_type;
             typedef cc::MichaelHashSet< gc_type, list_type >   set_type;
 
             typedef cc::MichaelList< gc_type, int_item > list_type;
             typedef cc::MichaelHashSet< gc_type, list_type >   set_type;
 
-            cds::gc::dhp::GarbageCollector::Construct( 16, set_type::c_nHazardPtrCount );
+            cds::gc::dhp::smr::construct( set_type::c_nHazardPtrCount );
             cds::threading::Manager::attachThread();
         }
 
         void TearDown()
         {
             cds::threading::Manager::detachThread();
             cds::threading::Manager::attachThread();
         }
 
         void TearDown()
         {
             cds::threading::Manager::detachThread();
-            cds::gc::dhp::GarbageCollector::Destruct();
+            cds::gc::dhp::smr::destruct();
         }
     };
 
         }
     };