Index: src/spaces.h |
diff --git a/src/spaces.h b/src/spaces.h |
index fe22341308f029dd8dd15128f0c7682056b8630e..6ff3ee3694dccd769a61bbc35342b66a317342f7 100644 |
--- a/src/spaces.h |
+++ b/src/spaces.h |
@@ -1765,9 +1765,9 @@ class PagedSpace : public Space { |
bool AdvanceSweeper(intptr_t bytes_to_sweep); |
- // When parallel sweeper threads are active this function waits |
- // for them to complete, otherwise AdvanceSweeper with size_in_bytes |
- // is called. |
+ // When parallel sweeper threads are active and the main thread finished |
+ // its sweeping phase, this function waits for them to complete, otherwise |
+ // AdvanceSweeper with size_in_bytes is called. |
bool EnsureSweeperProgress(intptr_t size_in_bytes); |
bool IsLazySweepingComplete() { |