| Index: src/spaces.cc
|
| diff --git a/src/spaces.cc b/src/spaces.cc
|
| index 4e2ed9d77cc9671aefe51df636d1516d2b425130..1e0d9bc7f26e266f50ac55e7c9f81bcb481401c6 100644
|
| --- a/src/spaces.cc
|
| +++ b/src/spaces.cc
|
| @@ -2807,23 +2807,6 @@ void PagedSpace::ReportStatistics() {
|
| }
|
| #endif
|
|
|
| -// -----------------------------------------------------------------------------
|
| -// FixedSpace implementation
|
| -
|
| -void FixedSpace::PrepareForMarkCompact() {
|
| - // Call prepare of the super class.
|
| - PagedSpace::PrepareForMarkCompact();
|
| -
|
| - // During a non-compacting collection, everything below the linear
|
| - // allocation pointer except wasted top-of-page blocks is considered
|
| - // allocated and we will rediscover available bytes during the
|
| - // collection.
|
| - accounting_stats_.AllocateBytes(free_list_.available());
|
| -
|
| - // Clear the free list before a full GC---it will be rebuilt afterward.
|
| - free_list_.Reset();
|
| -}
|
| -
|
|
|
| // -----------------------------------------------------------------------------
|
| // MapSpace implementation
|
|
|