| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 1d02ed7c2c495ec1f064a8403be584083c0d83ae..616aa6f0d83f880e895dd0f44744c02cad991d13 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -2402,7 +2402,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;
|
|
|