Skip to content

Commit db4a754

Browse files
committed
MSFT:17672777 Fix two pass concurrent sweep states.
1 parent 6d3f131 commit db4a754

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Common/Memory/CollectionState.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ enum CollectionState
8585
CollectionStateConcurrentSweep = Collection_ConcurrentSweep | Collection_ExecutingConcurrent, // concurrent sweep
8686
#if ENABLE_ALLOCATIONS_DURING_CONCURRENT_SWEEP
8787
CollectionStateConcurrentSweepPass1 = Collection_ConcurrentSweep | Collection_ConcurrentSweepPass1 | Collection_ExecutingConcurrent, // concurrent sweep Pass 1
88-
CollectionStateConcurrentSweepPass1Wait = Collection_ConcurrentSweep | Collection_ConcurrentSweepPass1Wait, // concurrent sweep wait state after Pass 1 has finished
88+
CollectionStateConcurrentSweepPass1Wait = Collection_ConcurrentSweep | Collection_ConcurrentSweepPass1Wait | Collection_FinishConcurrent, // concurrent sweep wait state after Pass 1 has finished
8989
CollectionStateConcurrentSweepPass2 = Collection_ConcurrentSweep | Collection_ConcurrentSweepPass2 | Collection_ExecutingConcurrent, // concurrent sweep Pass 2
90-
CollectionStateConcurrentSweepPass2Wait = Collection_ConcurrentSweep | Collection_ConcurrentSweepPass2Wait, // concurrent sweep wait state after Pass 2 has finished
90+
CollectionStateConcurrentSweepPass2Wait = Collection_ConcurrentSweep | Collection_ConcurrentSweepPass2Wait | Collection_FinishConcurrent, // concurrent sweep wait state after Pass 2 has finished
9191
#endif
9292
CollectionStateTransferSweptWait = Collection_ConcurrentSweep | Collection_FinishConcurrent, // transfer swept objects (after concurrent sweep)
9393
#endif

0 commit comments

Comments
 (0)