Issue #81: fixed extending thread's retired array in gc::DHP SMR
authorkhizmax <khizmax@gmail.com>
Thu, 10 Aug 2017 17:13:13 +0000 (20:13 +0300)
committerkhizmax <khizmax@gmail.com>
Thu, 10 Aug 2017 17:13:13 +0000 (20:13 +0300)
cds/gc/dhp.h
change.log
thanks

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_ );
index 6fe15a4e1eaa32b53523992694a6076aaf473715..a320fccd5dbb9abeedb61f988637a51a1f26a241 100644 (file)
@@ -1,4 +1,6 @@
 2.4.0
+    - issue #81: bug in gc::DHP when extending thread's retired array,
+      thanks to gtroxler (https://github.com/gtroxler)
 
 2.3.0 31.07.2017
     General release
diff --git a/thanks b/thanks
index 5110a6415057c16877f553cf01e9f127fbe2d625..691acc41db96fdc83ae3829f30a47505cbc7857e 100644 (file)
--- a/thanks
+++ b/thanks
@@ -4,6 +4,7 @@ In alphabetical order:
 Amila Jayasekara\r
 blinkenlichten (https://github.com/blinkenlichten)\r
 Eugeny Kalishenko (https://github.com/eugenyk)\r
+gtroxler (https://github.com/gtroxler)\r
 Jelle van den Hooff\r
 Kyle Hegeman (https://github.com/khegeman)\r
 Lily Tsai (https://github.com/tslilyai)\r
@@ -14,6 +15,6 @@ Michail Komarov (https://github.com/nemo1369)
 Mykola Dimura\r
 Mike Krinkin (https://github.com/krinkinmu)\r
 Nikolai Rapotkin\r
-rwf (https://github.com/rfw)\r
+rfw (https://github.com/rfw)\r
 Tamas Lengyel\r
 Todd Lipcon\r