| Index: src/heap/spaces.h
|
| diff --git a/src/heap/spaces.h b/src/heap/spaces.h
|
| index 7d379490d9323f61f0d607453d5e8d11d76fab81..8b26ae01386c43aead807365918fd7f7a6803eae 100644
|
| --- a/src/heap/spaces.h
|
| +++ b/src/heap/spaces.h
|
| @@ -411,10 +411,6 @@ class MemoryChunk {
|
| return concurrent_sweeping_;
|
| }
|
|
|
| - bool SweepingDone() {
|
| - return concurrent_sweeping_state().Value() == kSweepingDone;
|
| - }
|
| -
|
| // Manage live byte count, i.e., count of bytes in black objects.
|
| inline void ResetLiveBytes();
|
| inline void IncrementLiveBytes(int by);
|
| @@ -739,6 +735,10 @@ class Page : public MemoryChunk {
|
| DCHECK(SweepingDone());
|
| }
|
|
|
| + bool SweepingDone() {
|
| + return concurrent_sweeping_state().Value() == kSweepingDone;
|
| + }
|
| +
|
| void ResetFreeListStatistics();
|
|
|
| size_t AvailableInFreeList();
|
|
|