Don't start marking while sweeping
BUG=none R=hpayer@chromium.org LOG=n Review URL: https://codereview.chromium.org/1032963002 Cr-Commit-Position: refs/heads/master@{#27476}
This commit is contained in:
parent
2455aadf7b
commit
c290007717
@ -4610,7 +4610,8 @@ bool Heap::IdleNotification(double deadline_in_seconds) {
|
||||
heap_state.incremental_marking_stopped = incremental_marking()->IsStopped();
|
||||
// TODO(ulan): Start incremental marking only for large heaps.
|
||||
heap_state.can_start_incremental_marking =
|
||||
incremental_marking()->ShouldActivate() && FLAG_incremental_marking;
|
||||
incremental_marking()->ShouldActivate() && FLAG_incremental_marking &&
|
||||
!mark_compact_collector()->sweeping_in_progress();
|
||||
heap_state.sweeping_in_progress =
|
||||
mark_compact_collector()->sweeping_in_progress();
|
||||
heap_state.mark_compact_speed_in_bytes_per_ms =
|
||||
|
Loading…
Reference in New Issue
Block a user