Issue #81: fixed extending thread's retired array in gc::DHP SMR
[libcds.git] / cds / gc / dhp.h
index 5772cc9708f1e74020a943b46fe81c7e3053149a..01ff54c64a3a1c26691d40956e6cdd0d81be4325 100644 (file)
@@ -398,7 +398,7 @@ namespace cds { namespace gc {
                 retired_block* block = retired_allocator::instance().alloc();
                 assert( block->next_ == nullptr );
 
-                list_tail_ = list_tail_->next_ = block;
+                current_block_ = list_tail_ = list_tail_->next_ = block;
                 current_cell_ = block->first();
                 ++block_count_;
                 CDS_HPSTAT( ++extend_call_count_ );