| Index: src/objects.h
|
| ===================================================================
|
| --- src/objects.h (revision 10032)
|
| +++ src/objects.h (working copy)
|
| @@ -2098,7 +2098,7 @@
|
| // Maximal allowed size, in bytes, of a single FixedArray.
|
| // Prevents overflowing size computations, as well as extreme memory
|
| // consumption.
|
| - static const int kMaxSize = 512 * MB;
|
| + static const int kMaxSize = 128 * MB * kPointerSize;
|
| // Maximally allowed length of a FixedArray.
|
| static const int kMaxLength = (kMaxSize - kHeaderSize) / kPointerSize;
|
|
|
| @@ -3339,9 +3339,6 @@
|
|
|
| static const int kAlignedSize = OBJECT_POINTER_ALIGN(kHeaderSize);
|
|
|
| - // Maximal size of a single FreeSpace.
|
| - static const int kMaxSize = 512 * MB;
|
| -
|
| private:
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(FreeSpace);
|
| };
|
|
|