Skip to content

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

Scott Snyder requested to merge ssnyder/athena:trimRace.CxxUtils-20190106 into master

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.

Merge request reports

Loading