| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index a9c2439e61bbf077ad484031025d9fff7d03369e..ca14258f639709e8a7cacba38b025259cfb0c188 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -10432,12 +10432,12 @@ class JSArray: public JSObject {
|
| static const int kLengthOffset = JSObject::kHeaderSize;
|
| static const int kSize = kLengthOffset + kPointerSize;
|
|
|
| - // 600 * KB is the Page::kMaxRegularHeapObjectSize defined in spaces.h which
|
| + // 300 * KB is the Page::kMaxRegularHeapObjectSize defined in spaces.h which
|
| // we do not want to include in objects.h
|
| // Note that Page::kMaxRegularHeapObjectSize has to be in sync with
|
| // kInitialMaxFastElementArray which is checked in a DCHECK in heap.cc.
|
| static const int kInitialMaxFastElementArray =
|
| - (600 * KB - FixedArray::kHeaderSize - kSize - AllocationMemento::kSize) /
|
| + (300 * KB - FixedArray::kHeaderSize - kSize - AllocationMemento::kSize) /
|
| kPointerSize;
|
|
|
| private:
|
|
|