Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(412)

Unified Diff: src/heap/heap.cc

Issue 552723004: Reset context disposed counter after executing the idle garbage collection operation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index 1f7d8784f6b8fbf104e121212fc6e5c2b28a9196..84751c55aabebad7440fcd19b63e0ae2ebb09e72 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698