From 496252c6859c3f9fa2ed90d5ff3cadb7a150897d Mon Sep 17 00:00:00 2001 From: Steve Fink Date: Fri, 12 May 2017 12:10:56 -0700 Subject: [PATCH] Bug 1364547 - Add number of slices to major GC summary, r=jonco --HG-- extra : rebase_source : c7cdf4ef944c4bc227650e6027a59907bbf4fd21 --- js/src/gc/Statistics.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/js/src/gc/Statistics.cpp b/js/src/gc/Statistics.cpp index 7c6e025e4f36..03d719d94c76 100644 --- a/js/src/gc/Statistics.cpp +++ b/js/src/gc/Statistics.cpp @@ -581,6 +581,7 @@ Statistics::formatJsonDescription(uint64_t timestamp, JSONPrinter& json) const json.property("total_compartments", zoneStats.compartmentCount); json.property("minor_gcs", counts[STAT_MINOR_GC]); json.property("store_buffer_overflows", counts[STAT_STOREBUFFER_OVERFLOW]); + json.property("slices", slices_.length()); const double mmu20 = computeMMU(TimeDuration::FromMilliseconds(20)); const double mmu50 = computeMMU(TimeDuration::FromMilliseconds(50));