[vm] Reset vm isolate symbol table load factor

fixes #30371

R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2999743002 .
This commit is contained in:
Zachary Anderson
2017-08-09 10:03:49 -07:00
parent 5890090f03
commit 09456bfb6f
+5 -3
View File
@@ -336,9 +336,11 @@ RawArray* Symbols::UnifiedSymbolTable() {
}
table.Release();
const double kMinLoad = 0.90;
const double kMaxLoad = 0.90;
HashTables::EnsureLoadFactor(kMinLoad, kMaxLoad, unified_table);
// TODO(30378): The default load factor of 0.75 / 2 burns ~100KB, but
// increasing the load factor regresses Flutter's hot restart time.
// const double kMinLoad = 0.90;
// const double kMaxLoad = 0.90;
// HashTables::EnsureLoadFactor(kMinLoad, kMaxLoad, unified_table);
return unified_table.Release().raw();
}