Commit f6d632bd authored by ulan's avatar ulan Committed by Commit bot

Reduce the size of initial JSON string buffer.

BUG=v8:3925
LOG=NO

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

Cr-Commit-Position: refs/heads/master@{#28225}
parent a147377e
......@@ -180,7 +180,7 @@ class JsonParser BASE_EMBEDDED {
inline Factory* factory() { return factory_; }
inline Handle<JSFunction> object_constructor() { return object_constructor_; }
static const int kInitialSpecialStringLength = 1024;
static const int kInitialSpecialStringLength = 32;
static const int kPretenureTreshold = 100 * 1024;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment