Skip to content

Commit f8bba4c

Browse files
committed
Bug 1880213 - Remove telemetry assertion that doesn't always hold r=sfink
This is another case where we occastionally get results that seem impossible when dealing with time durations. In this case we're already clamping the value before we send it to the telemetry system, probably because we already ran into a case line this. The telemetry we get out looks reasonable. Therefore I think it's fine to remove this assertion. Differential Revision: https://phabricator.services.mozilla.com/D201810
1 parent c9af904 commit f8bba4c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

js/src/gc/Statistics.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,6 @@ void Statistics::sendGCTelemetry() {
11341134
uint32_t threadCount = gc->markers.length();
11351135
double speedup = parallelMarkTime / wallTime;
11361136
double utilization = parallelRunTime / (wallTime * threadCount);
1137-
MOZ_ASSERT(utilization <= 1.0);
11381137
runtime->metrics().GC_PARALLEL_MARK_SPEEDUP(uint32_t(speedup * 100.0));
11391138
runtime->metrics().GC_PARALLEL_MARK_UTILIZATION(
11401139
std::clamp(utilization * 100.0, 0.0, 100.0));

0 commit comments

Comments
 (0)