| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 840301bbf5ed3fd904655cc40848a5ab8e9da040..52e74960eae4057f29bc5b8492add0ef7e570245 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -31,6 +31,10 @@
|
| #include "src/v8threads.h"
|
| #include "src/vm-state-inl.h"
|
|
|
| +#if V8_TARGET_ARCH_PPC && !V8_INTERPRETED_REGEXP
|
| +#include "src/regexp-macro-assembler.h" // NOLINT
|
| +#include "src/ppc/regexp-macro-assembler-ppc.h" // NOLINT
|
| +#endif
|
| #if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP
|
| #include "src/regexp-macro-assembler.h" // NOLINT
|
| #include "src/arm/regexp-macro-assembler-arm.h" // NOLINT
|
| @@ -43,6 +47,7 @@
|
| #include "src/regexp-macro-assembler.h"
|
| #include "src/mips64/regexp-macro-assembler-mips64.h"
|
| #endif
|
| +#include "src/full-codegen.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
| @@ -825,7 +830,8 @@ bool Heap::CollectGarbage(GarbageCollector collector,
|
| !incremental_marking()->should_hurry() &&
|
| FLAG_incremental_marking_steps) {
|
| // Make progress in incremental marking.
|
| - const intptr_t kStepSizeWhenDelayedByScavenge = 1 * MB;
|
| + const intptr_t kStepSizeWhenDelayedByScavenge = 1 * MB *
|
| + FullCodeGenerator::kCodeSizeMultiplier / 100;
|
| incremental_marking()->Step(kStepSizeWhenDelayedByScavenge,
|
| IncrementalMarking::NO_GC_VIA_STACK_GUARD);
|
| if (!incremental_marking()->IsComplete() && !FLAG_gc_global) {
|
|
|