mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
8292686: runtime/cds/appcds/TestWithProfiler.java SIGSEGV in TableStatistics ctr
Reviewed-by: dcubed, hseigel
This commit is contained in:
parent
235151ead8
commit
07c9ba74fa
2 changed files with 2 additions and 2 deletions
|
@ -503,7 +503,7 @@ bool StringTable::do_rehash() {
|
|||
|
||||
// We use current size, not max size.
|
||||
size_t new_size = _local_table->get_size_log2(Thread::current());
|
||||
StringTableHash* new_table = new StringTableHash(new_size, END_SIZE, REHASH_LEN);
|
||||
StringTableHash* new_table = new StringTableHash(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