Commit 0b6773fa authored by hpayer's avatar hpayer Committed by Commit bot

Just account for context disposal garbage collections in context disposal stats counters.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#25546}
parent 5c3d1cbf
...@@ -4465,8 +4465,8 @@ bool Heap::IdleNotification(int idle_time_in_ms) { ...@@ -4465,8 +4465,8 @@ bool Heap::IdleNotification(int idle_time_in_ms) {
break; break;
} }
case DO_FULL_GC: { case DO_FULL_GC: {
HistogramTimerScope scope(isolate_->counters()->gc_context());
if (contexts_disposed_) { if (contexts_disposed_) {
HistogramTimerScope scope(isolate_->counters()->gc_context());
CollectAllGarbage(kNoGCFlags, "idle notification: contexts disposed"); CollectAllGarbage(kNoGCFlags, "idle notification: contexts disposed");
gc_idle_time_handler_.NotifyIdleMarkCompact(); gc_idle_time_handler_.NotifyIdleMarkCompact();
gc_count_at_last_idle_gc_ = gc_count_; gc_count_at_last_idle_gc_ = gc_count_;
......
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