| Index: src/heap.h
|
| ===================================================================
|
| --- src/heap.h (revision 2217)
|
| +++ src/heap.h (working copy)
|
| @@ -242,9 +242,8 @@
|
| // all available bytes. Check MaxHeapObjectSize() instead.
|
| static int Available();
|
|
|
| - // Returns the maximum object size that heap supports. Objects larger than
|
| - // the maximum heap object size are allocated in a large object space.
|
| - static inline int MaxHeapObjectSize();
|
| + // Returns the maximum object size in paged space.
|
| + static inline int MaxObjectSizeInPagedSpace();
|
|
|
| // Returns of size of all objects residing in the heap.
|
| static int SizeOfObjects();
|
| @@ -830,6 +829,8 @@
|
|
|
| static const int kMaxMapSpaceSize = 8*MB;
|
|
|
| + static const int kMaxObjectSizeInNewSpace = 256*KB;
|
| +
|
| static NewSpace new_space_;
|
| static OldSpace* old_pointer_space_;
|
| static OldSpace* old_data_space_;
|
|
|