Index: src/heap/spaces.h |
diff --git a/src/heap/spaces.h b/src/heap/spaces.h |
index a66f3394d3117585a1fd8af755b4cc54448464bb..5d22e4bc58ed80fcd4dedd45d60878cec9fd0aa8 100644 |
--- a/src/heap/spaces.h |
+++ b/src/heap/spaces.h |
@@ -413,10 +413,6 @@ |
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); |
@@ -769,6 +765,10 @@ |
mutex_->Lock(); |
mutex_->Unlock(); |
DCHECK(SweepingDone()); |
+ } |
+ |
+ bool SweepingDone() { |
+ return concurrent_sweeping_state().Value() == kSweepingDone; |
} |
void ResetFreeListStatistics(); |