| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 3430431e643dc65a7f427c701be84ed5c8705591..c72d150f2ea2b2104e1507f9ee8be876eae94f0d 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -2719,7 +2719,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;
|
|
|