| Index: src/heap/spaces.h
|
| diff --git a/src/heap/spaces.h b/src/heap/spaces.h
|
| index 93106c13ed992e47a3fea960b8f980ad6f5353a8..de5ea1b16adc399a977885f4bacffda9c8b22263 100644
|
| --- a/src/heap/spaces.h
|
| +++ b/src/heap/spaces.h
|
| @@ -235,10 +235,7 @@
|
| IN_TO_SPACE, // All pages in new space has one of these two set.
|
| NEW_SPACE_BELOW_AGE_MARK,
|
| EVACUATION_CANDIDATE,
|
| -
|
| - // |NEVER_EVACUATE|: A page tagged with this flag will never be selected
|
| - // for evacuation. Typically used for immortal immovable pages.
|
| - NEVER_EVACUATE,
|
| + NEVER_EVACUATE, // May contain immortal immutables.
|
|
|
| // Large objects can have a progress bar in their page header. These object
|
| // are scanned in increments and will be kept black while being scanned.
|
| @@ -725,7 +722,7 @@
|
| // account.
|
| // TODO(hpayer): This limit should be way smaller but we currently have
|
| // short living objects >256K.
|
| - static const int kMaxRegularHeapObjectSize = 400 * KB;
|
| + static const int kMaxRegularHeapObjectSize = 600 * KB;
|
|
|
| static inline Page* ConvertNewToOld(Page* old_page, PagedSpace* new_owner);
|
|
|
| @@ -825,8 +822,6 @@
|
| void add_available_in_free_list(intptr_t available) {
|
| available_in_free_list_.Increment(available);
|
| }
|
| -
|
| - size_t ShrinkToHighWaterMark();
|
|
|
| #ifdef DEBUG
|
| void Print();
|
| @@ -1319,8 +1314,6 @@
|
| MemoryChunk* AllocateChunk(intptr_t reserve_area_size,
|
| intptr_t commit_area_size,
|
| Executability executable, Space* space);
|
| -
|
| - void ShrinkChunk(MemoryChunk* chunk, size_t bytes_to_shrink);
|
|
|
| Address ReserveAlignedMemory(size_t requested, size_t alignment,
|
| base::VirtualMemory* controller);
|
| @@ -2203,10 +2196,6 @@
|
| iterator begin() { return iterator(anchor_.next_page()); }
|
| iterator end() { return iterator(&anchor_); }
|
|
|
| - // Shrink immortal immovable pages of the space to be exactly the size needed
|
| - // using the high water mark.
|
| - void ShrinkImmortalImmovablePages();
|
| -
|
| protected:
|
| // PagedSpaces that should be included in snapshots have different, i.e.,
|
| // smaller, initial pages.
|
|
|