Bug 1725539 - p2. Provide an ordering of GC reasons r=smaug
commitf0a1c9464c57803336e194deec7ecb68308d908d
authorPaul Bone <pbone@mozilla.com>
Fri, 8 Oct 2021 05:02:27 +0000 (8 05:02 +0000)
committerPaul Bone <pbone@mozilla.com>
Fri, 8 Oct 2021 05:02:27 +0000 (8 05:02 +0000)
tree68194d98cde084a428b5b438f78174ce2cb4e90c
parent5d7d2b08cbbc41a6508b14fd84e15f6255b23ced
Bug 1725539 - p2. Provide an ordering of GC reasons r=smaug

GC reasons clobber each-other as follows:

USER_INACTIVE > FULL_GC_TIMER > all others.

To ensure that if multiple timers fire we still do the strongest GC
requested.

Differential Revision: https://phabricator.services.mozilla.com/D122556
dom/base/CCGCScheduler.h