Revert part of "Remove serializer-specific hash table size heuristic."
authoryangguo <yangguo@chromium.org>
Wed, 5 Aug 2015 08:56:02 +0000 (01:56 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 5 Aug 2015 08:57:02 +0000 (08:57 +0000)
TBR=machenbach@chromium.org
NOTRY=true
NOTREECHECKS=true

Review URL: https://codereview.chromium.org/1272123002

Cr-Commit-Position: refs/heads/master@{#30021}

src/bootstrapper.cc

index 37beeff..c46cc2e 100644 (file)
@@ -2408,8 +2408,7 @@ bool Genesis::InstallNatives(ContextType context_type) {
   InstallNativeFunctions();
 
   auto function_cache =
-      ObjectHashTable::New(isolate(), ApiNatives::kInitialFunctionCacheSize,
-                           USE_CUSTOM_MINIMUM_CAPACITY);
+      ObjectHashTable::New(isolate(), ApiNatives::kInitialFunctionCacheSize);
   native_context()->set_function_cache(*function_cache);
 
   // Store the map for the string prototype after the natives has been compiled