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

Unified Diff: src/heap/heap.cc

Issue 765773002: Just account for context disposal garbage collections in context disposal stats counters. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month 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 5167b6a45b7be6fdf2579f4ea7456d2ccc5b1230..ddc12be50dac327a66c90ac0bfc1234f56d5b109 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -4465,8 +4465,8 @@ bool Heap::IdleNotification(int idle_time_in_ms) {
break;
}
case DO_FULL_GC: {
- HistogramTimerScope scope(isolate_->counters()->gc_context());
if (contexts_disposed_) {
+ HistogramTimerScope scope(isolate_->counters()->gc_context());
CollectAllGarbage(kNoGCFlags, "idle notification: contexts disposed");
gc_idle_time_handler_.NotifyIdleMarkCompact();
gc_count_at_last_idle_gc_ = gc_count_;
« 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