8292446: Make TableRateStatistics optional in CHT

Reviewed-by: coleenp, rehn
This commit is contained in:
Johan Sjölén 2022-08-19 16:39:32 +00:00 committed by Coleen Phillimore
parent 45dec480ef
commit 1f3578b79c
8 changed files with 45 additions and 28 deletions

View file

@ -783,7 +783,7 @@ bool SymbolTable::do_rehash() {
// We use current size
size_t new_size = _local_table->get_size_log2(Thread::current());
SymbolTableHash* new_table = new SymbolTableHash(new_size, END_SIZE, REHASH_LEN);
SymbolTableHash* new_table = new SymbolTableHash(new_size, END_SIZE, REHASH_LEN, true);
// Use alt hash from now on
_alt_hash = true;
if (!_local_table->try_move_nodes_to(Thread::current(), new_table)) {