Commit 503c7ee7 authored by kasperl@chromium.org's avatar kasperl@chromium.org

Try to let the context disposal GC at idle time have less

impact on the normal idle notification scheme by making sure
we do not restart the idle GC sequence just because of a
forced GC due to context disposal.
Review URL: http://codereview.chromium.org/669150

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4031 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 95795db1
......@@ -3085,6 +3085,7 @@ bool Heap::IdleNotification() {
HistogramTimerScope scope(&Counters::gc_context);
CollectAllGarbage(false);
ASSERT(contexts_disposed_ == 0);
last_gc_count = gc_count_;
return false;
}
......
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