Revision: 23948
Author:   [email protected]
Date:     Mon Sep 15 13:27:46 2014 UTC
Log: Reset context disposed counter after executing the idle garbage collection operation.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/552723004
https://code.google.com/p/v8/source/detail?r=23948

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

=======================================
--- /branches/bleeding_edge/src/heap/heap.cc    Wed Sep 10 12:38:12 2014 UTC
+++ /branches/bleeding_edge/src/heap/heap.cc    Mon Sep 15 13:27:46 2014 UTC
@@ -4316,7 +4316,6 @@
   GCIdleTimeAction action =
       gc_idle_time_handler_.Compute(idle_time_in_ms, heap_state);

-  contexts_disposed_ = 0;
   bool result = false;
   switch (action.type) {
     case DO_INCREMENTAL_MARKING:
@@ -4352,6 +4351,7 @@
     PrintF("]\n");
   }

+  contexts_disposed_ = 0;
   return result;
 }

--
--
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