From: khizmax Date: Thu, 10 Aug 2017 17:13:13 +0000 (+0300) Subject: Issue #81: fixed extending thread's retired array in gc::DHP SMR X-Git-Tag: v2.3.1~16 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=libcds.git;a=commitdiff_plain;h=6f65d103bf7411c66f1110071e235df5dd34ecd9 Issue #81: fixed extending thread's retired array in gc::DHP SMR --- diff --git a/cds/gc/dhp.h b/cds/gc/dhp.h index 5772cc97..01ff54c6 100644 --- a/cds/gc/dhp.h +++ b/cds/gc/dhp.h @@ -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_ ); diff --git a/change.log b/change.log index 6fe15a4e..a320fccd 100644 --- a/change.log +++ b/change.log @@ -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 5110a641..691acc41 100644 --- a/thanks +++ b/thanks @@ -4,6 +4,7 @@ In alphabetical order: Amila Jayasekara blinkenlichten (https://github.com/blinkenlichten) Eugeny Kalishenko (https://github.com/eugenyk) +gtroxler (https://github.com/gtroxler) Jelle van den Hooff Kyle Hegeman (https://github.com/khegeman) Lily Tsai (https://github.com/tslilyai) @@ -14,6 +15,6 @@ Michail Komarov (https://github.com/nemo1369) Mykola Dimura Mike Krinkin (https://github.com/krinkinmu) Nikolai Rapotkin -rwf (https://github.com/rfw) +rfw (https://github.com/rfw) Tamas Lengyel Todd Lipcon