mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8325871: Move StringTable and SymbolTable rehashing calls
Reviewed-by: eosterlund, aboldtch
This commit is contained in:
parent
9e98118f28
commit
7734466c46
13 changed files with 141 additions and 206 deletions
|
@ -399,7 +399,8 @@ static void cht_move_to(Thread* thr) {
|
|||
EXPECT_TRUE(from_cht->insert(thr, stl3, val3)) << "Insert unique value failed.";
|
||||
|
||||
SimpleTestTable* to_cht = new SimpleTestTable();
|
||||
EXPECT_TRUE(from_cht->try_move_nodes_to(thr, to_cht)) << "Moving nodes to new table failed";
|
||||
// This is single threaded and not shared
|
||||
from_cht->rehash_nodes_to(thr, to_cht);
|
||||
|
||||
ChtCountScan scan_old;
|
||||
EXPECT_TRUE(from_cht->try_scan(thr, scan_old)) << "Scanning table should work.";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue