Bug 1818391 - Clamp parallel marking utilization telemetry value r=sfink
commit22666f8258238fe0997d469f51323bcb50807f69
authorJon Coppeard <jcoppeard@mozilla.com>
Tue, 21 Mar 2023 18:57:09 +0000 (21 18:57 +0000)
committerJon Coppeard <jcoppeard@mozilla.com>
Tue, 21 Mar 2023 18:57:09 +0000 (21 18:57 +0000)
tree0e193c23308e3b28345ebb3258adc1ea47a91a24
parentc84fb1055a74a84b49795d9a779dd3c5050b8927
Bug 1818391 - Clamp parallel marking utilization telemetry value r=sfink

I don't know how this is generating a value that is outside these limits, but
we can sometimes get inconsistent timestamps so maybe that is happening. The
simplest thing to do is clamp the value to sensible limits.

Differential Revision: https://phabricator.services.mozilla.com/D173173
js/src/gc/Statistics.cpp