| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 657d2452a97e7aab925f66df65f54c612504c21b..4455b5f723d5f3c6c0d1dff5e8bcb0a462e7aeac 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -2686,10 +2686,9 @@ class JSObject: public JSReceiver {
|
| // don't want to be wasteful with long lived objects.
|
| static const int kMaxUncheckedOldFastElementsLength = 500;
|
|
|
| - // 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;
|
| + // Note that Heap::MaxRegularSpaceAllocationSize() puts a limit on
|
| + // permissible values (see the ASSERT in heap.cc).
|
| + static const int kInitialMaxFastElementArray = 100000;
|
|
|
| static const int kFastPropertiesSoftLimit = 12;
|
| static const int kMaxFastProperties = 64;
|
|
|