mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8292446: Make TableRateStatistics optional in CHT
Reviewed-by: coleenp, rehn
This commit is contained in:
parent
45dec480ef
commit
1f3578b79c
8 changed files with 45 additions and 28 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue