Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2603)

Unified Diff: runtime/vm/symbols.cc

Issue 2989283002: [vm] Higher vm snapshot symbol table load factor (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/symbols.cc
diff --git a/runtime/vm/symbols.cc b/runtime/vm/symbols.cc
index ad8a13f4a10277860e87080e940326d2e8f6c1ac..d38b259b1a768c4f52f15c517cfeea4b4bebc8da 100644
--- a/runtime/vm/symbols.cc
+++ b/runtime/vm/symbols.cc
@@ -336,6 +336,10 @@ RawArray* Symbols::UnifiedSymbolTable() {
}
table.Release();
+ const double kMinLoad = 0.90;
+ const double kMaxLoad = 0.90;
+ HashTables::EnsureLoadFactor(kMinLoad, kMaxLoad, unified_table);
+
return unified_table.Release().raw();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698