Revision: 21268
Author:   [email protected]
Date:     Mon May 12 13:35:53 2014 UTC
Log: Do not scavenge while marking incrementally when FLAG_gc_global is on.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/281573002
http://code.google.com/p/v8/source/detail?r=21268

Modified:
 /branches/bleeding_edge/src/heap.cc

=======================================
--- /branches/bleeding_edge/src/heap.cc Fri May  9 12:37:11 2014 UTC
+++ /branches/bleeding_edge/src/heap.cc Mon May 12 13:35:53 2014 UTC
@@ -790,7 +790,7 @@
     const intptr_t kStepSizeWhenDelayedByScavenge = 1 * MB;
     incremental_marking()->Step(kStepSizeWhenDelayedByScavenge,
                                 IncrementalMarking::NO_GC_VIA_STACK_GUARD);
-    if (!incremental_marking()->IsComplete()) {
+    if (!incremental_marking()->IsComplete() && !FLAG_gc_global) {
       if (FLAG_trace_incremental_marking) {
         PrintF("[IncrementalMarking] Delaying MarkSweep.\n");
       }

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to