зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1752646 - Emit a marker when a GC interrupt is requested r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D137351
This commit is contained in:
Родитель
9f6b747106
Коммит
c780e12c98
|
@ -495,7 +495,10 @@ void CCGCScheduler::EnsureGCRunner(TimeDuration aDelay) {
|
|||
TimeDuration::FromMilliseconds(
|
||||
StaticPrefs::javascript_options_gc_delay_interslice()),
|
||||
mActiveIntersliceGCBudget, true, [this] { return mDidShutdown; },
|
||||
[this](uint32_t) { mInterruptRequested = true; });
|
||||
[this](uint32_t) {
|
||||
PROFILER_MARKER_UNTYPED("GC Interrupt", GCCC);
|
||||
mInterruptRequested = true;
|
||||
});
|
||||
}
|
||||
|
||||
// nsJSEnvironmentObserver observes the user-interaction-inactive notifications
|
||||
|
|
Загрузка…
Ссылка в новой задаче