| Index: src/spaces.cc
|
| diff --git a/src/spaces.cc b/src/spaces.cc
|
| index 15381eaf3224ee51e47211d2c97d5df614eeafb3..5935c4a0ea94bfad71812f5d2d4b692ddb04afcf 100644
|
| --- a/src/spaces.cc
|
| +++ b/src/spaces.cc
|
| @@ -914,6 +914,7 @@ void MemoryChunk::IncrementLiveBytesFromMutator(Address address, int by) {
|
| chunk->IncrementLiveBytes(by);
|
| }
|
|
|
| +
|
| // -----------------------------------------------------------------------------
|
| // PagedSpace implementation
|
|
|
| @@ -994,6 +995,7 @@ MaybeObject* PagedSpace::FindObject(Address addr) {
|
| return Failure::Exception();
|
| }
|
|
|
| +
|
| bool PagedSpace::CanExpand() {
|
| ASSERT(max_capacity_ % AreaSize() == 0);
|
|
|
| @@ -1868,6 +1870,7 @@ void NewSpace::ClearHistograms() {
|
| }
|
| }
|
|
|
| +
|
| // Because the copying collector does not touch garbage objects, we iterate
|
| // the new space before a collection to get a histogram of allocated objects.
|
| // This only happens when --log-gc flag is set.
|
| @@ -1961,6 +1964,7 @@ size_t NewSpace::CommittedPhysicalMemory() {
|
| return size;
|
| }
|
|
|
| +
|
| // -----------------------------------------------------------------------------
|
| // Free lists for old object spaces implementation
|
|
|
|
|