8205006: Assertion failure when rehashing stringtable
Reviewed-by: lfoltan, zgu
This commit is contained in:
parent
58f944b75e
commit
ca60e251a9
@ -1203,7 +1203,7 @@ inline bool ConcurrentHashTable<VALUE, CONFIG, F>::
|
||||
if (!try_resize_lock(thread)) {
|
||||
return false;
|
||||
}
|
||||
assert(_new_table == NULL, "Must be NULL");
|
||||
assert(_new_table == NULL || _new_table == POISON_PTR, "Must be NULL");
|
||||
for (size_t bucket_it = 0; bucket_it < _table->_size; bucket_it++) {
|
||||
Bucket* bucket = _table->get_bucket(bucket_it);
|
||||
assert(!bucket->have_redirect() && !bucket->is_locked(), "Table must be uncontended");
|
||||
|
Loading…
x
Reference in New Issue
Block a user