| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index 5d3bde4592c991844f1f024c7ab7cb391702d2e7..18e4d941de16984ee75c80386fb61a4f86bc7c79 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/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 {
|
| @@ -814,7 +819,8 @@ bool Heap::CollectGarbage(GarbageCollector collector, const char* gc_reason,
|
| !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) {
|
|
|