| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 0379660100ddb1668808b4af2d4f2a4566d85151..7933cd863965dfd8df34d62ca7420077312bb049 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -2715,7 +2715,11 @@ class JSObject: public JSReceiver {
|
| // don't want to be wasteful with long lived objects.
|
| static const int kMaxUncheckedOldFastElementsLength = 500;
|
|
|
| - static const int kInitialMaxFastElementArray = 100000;
|
| + // TODO(2790): HAllocate currently always allocates fast backing stores
|
| + // in new space, where on x64 we can only fit ~98K elements. Keep this
|
| + // limit lower than that until HAllocate is made smarter.
|
| + static const int kInitialMaxFastElementArray = 95000;
|
| +
|
| static const int kFastPropertiesSoftLimit = 12;
|
| static const int kMaxFastProperties = 64;
|
| static const int kMaxInstanceSize = 255 * kPointerSize;
|
|
|