Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6672b29c5e0d93567efd0ed1a9530baaa5b668a3
https://github.com/WebKit/WebKit/commit/6672b29c5e0d93567efd0ed1a9530baaa5b668a3
Author: Ben Nham <[email protected]>
Date: 2024-09-26 (Thu, 26 Sep 2024)
Changed paths:
M Source/WebKit/UIProcess/ProcessThrottler.cpp
M Source/WebKit/UIProcess/ProcessThrottler.h
Log Message:
-----------
Log activity that caused process wakeup
https://bugs.webkit.org/show_bug.cgi?id=280417
rdar://136766275
Reviewed by Chris Dumez.
Generally speaking, an auxiliary process wakes up because a new activity was
added to its activity
set. Instead of just logging that we are resuming the process, we should also
log the activity
name. This helps us debug whether or not the process wakeup is reasonable or
spurious.
* Source/WebKit/UIProcess/ProcessThrottler.cpp:
(WebKit::ProcessThrottler::addActivity):
(WebKit::ProcessThrottler::removeActivity):
(WebKit::ProcessThrottler::updateThrottleStateIfNeeded):
* Source/WebKit/UIProcess/ProcessThrottler.h:
Canonical link: https://commits.webkit.org/284303@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes