Commit 28f4efc9 authored by hpayer@chromium.org's avatar hpayer@chromium.org

Reset context disposed counter after executing the idle garbage collection operation.

BUG=
R=ulan@chromium.org

Review URL: https://codereview.chromium.org/552723004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23948 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 221b2845
......@@ -4316,7 +4316,6 @@ bool Heap::IdleNotification(int idle_time_in_ms) {
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 @@ bool Heap::IdleNotification(int idle_time_in_ms) {
PrintF("]\n");
}
contexts_disposed_ = 0;
return result;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment