| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index f159b662ca613f35283e00b07e7eea9226ebabcf..bd03db7be8d8d5959e52ccf9ea33a9818de98fc0 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -2684,10 +2684,7 @@ 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;
|
| + static const int kInitialMaxFastElementArray = 100000;
|
|
|
| static const int kFastPropertiesSoftLimit = 12;
|
| static const int kMaxFastProperties = 64;
|
| @@ -2717,6 +2714,7 @@ class JSObject: public JSReceiver {
|
|
|
| // Deliver change records to observers. May cause GC.
|
| static void DeliverChangeRecords(Isolate* isolate);
|
| + static int InitialMaxFastElementArray(Heap* heap);
|
|
|
| private:
|
| friend class DictionaryElementsAccessor;
|
|
|