Bug 1833854 - Part 2: Common up GCSchedulingTunables invariant checks r=sfink
commite95ca1fcbac17cee89a41da149dc69b97ecea46d
authorJon Coppeard <jcoppeard@mozilla.com>
Mon, 22 May 2023 14:31:40 +0000 (22 14:31 +0000)
committerJon Coppeard <jcoppeard@mozilla.com>
Mon, 22 May 2023 14:31:40 +0000 (22 14:31 +0000)
tree931f7944971e39b60504d5254cd20c14cf9800ec
parent8086cc214971d93ee48a3c1d3fda53570fcf003b
Bug 1833854 - Part 2: Common up GCSchedulingTunables invariant checks r=sfink

Some of these are duplicated, for example when two parameters need to be
checked against each other. It's easier to define them all in once place and
then we ensure we run all of them when anything changes.

Depends on D178524

Differential Revision: https://phabricator.services.mozilla.com/D178525
js/src/gc/Scheduling.cpp
js/src/gc/Scheduling.h