Skip to content
Snippets Groups Projects

CxxUtils: Fix potential race in ConcurrentRangeMap::trim().

Merged Scott Snyder requested to merge ssnyder/athena:trimRace.CxxUtils-20190106 into master
  1. Jan 06, 2019
    • scott snyder's avatar
      CxxUtils: Fix potential race in ConcurrentRangeMap::trim(). · b6d89d41
      scott snyder authored
      When finishing the trim() operation, the begin pointer must be updated
      before queuing the dummy impl object for discard.  Otherwise, another thread
      could potentially see a pointer to a deleted object.
      
      Trying to fix infrequent crashes in CondCont_test observed in nightlies and CI.
      b6d89d41
Loading