| Index: src/heap/incremental-marking.cc
|
| diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc
|
| index 5294d1d9c9d1df445b668d0ec3232fe90d628d94..d091efb3aaa3a6b2648b7ac9ee830fa5f400de56 100644
|
| --- a/src/heap/incremental-marking.cc
|
| +++ b/src/heap/incremental-marking.cc
|
| @@ -1105,7 +1105,7 @@ void IncrementalMarking::AdvanceIncrementalMarkingOnAllocation() {
|
| heap()->tracer()->IncrementalMarkingSpeedInBytesPerMillisecond());
|
| bytes_to_process = Min(bytes_to_process, max_step_size);
|
|
|
| - intptr_t bytes_processed = 0;
|
| + size_t bytes_processed = 0;
|
| if (bytes_marked_ahead_of_schedule_ >= bytes_to_process) {
|
| // Steps performed in tasks have put us ahead of schedule.
|
| // We skip processing of marking dequeue here and thus
|
| @@ -1116,7 +1116,7 @@ void IncrementalMarking::AdvanceIncrementalMarkingOnAllocation() {
|
| bytes_processed = Step(bytes_to_process, GC_VIA_STACK_GUARD,
|
| FORCE_COMPLETION, StepOrigin::kV8);
|
| }
|
| - bytes_allocated_ -= Min(bytes_allocated_, bytes_to_process);
|
| + bytes_allocated_ -= Min(bytes_allocated_, bytes_processed);
|
| }
|
| }
|
|
|
|
|