| Index: src/spaces.h
|
| diff --git a/src/spaces.h b/src/spaces.h
|
| index 770b88a9fba85e8ae8c37bee3880a63cf56a6f84..05254d02437930ec745e548abff7415548b299bc 100644
|
| --- a/src/spaces.h
|
| +++ b/src/spaces.h
|
| @@ -468,13 +468,16 @@ class MemoryChunk {
|
| intptr_t GetFlags() { return flags_; }
|
|
|
|
|
| - // PARALLEL_SWEEPING_PENDING - This page is ready for parallel sweeping.
|
| - // PARALLEL_SWEEPING_IN_PROGRESS - This page is currently swept or was
|
| - // swept by a sweeper thread.
|
| // PARALLEL_SWEEPING_DONE - The page state when sweeping is complete or
|
| // sweeping must not be performed on that page.
|
| + // PARALLEL_SWEEPING_FINALIZE - A sweeper thread is done sweeping this
|
| + // page and will not touch the page memory anymore.
|
| + // PARALLEL_SWEEPING_IN_PROGRESS - This page is currently swept by a
|
| + // sweeper thread.
|
| + // PARALLEL_SWEEPING_PENDING - This page is ready for parallel sweeping.
|
| enum ParallelSweepingState {
|
| PARALLEL_SWEEPING_DONE,
|
| + PARALLEL_SWEEPING_FINALIZE,
|
| PARALLEL_SWEEPING_IN_PROGRESS,
|
| PARALLEL_SWEEPING_PENDING
|
| };
|
|
|