8205583: Crash in ConcurrentHashTable do_bulk_delete_locked_for

Reviewed-by: coleenp, gziemski
This commit is contained in:
Robbin Ehn 2018-06-27 12:46:15 +02:00
parent bcdf345cc2
commit 1e4a26ceda
3 changed files with 26 additions and 62 deletions

View file

@ -213,7 +213,7 @@ static void cht_getinsert_bulkdelete_task(Thread* thr) {
if (bdt.prepare(thr)) {
while(bdt.do_task(thr, getinsert_bulkdelete_eval, getinsert_bulkdelete_del)) {
bdt.pause(thr);
EXPECT_TRUE(bdt.cont(thr)) << "Uncontended continue should work.";
bdt.cont(thr);
}
bdt.done(thr);
}