Bug 253527 - [macOS] Use cleanup timer when suspending web content process
Summary: [macOS] Use cleanup timer when suspending web content process
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Process Model (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac (Apple Silicon) macOS 13
: P2 Normal
Assignee: Miguel Salinas
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-07 13:21 PST by Miguel Salinas
Modified: 2023-03-07 20:07 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Salinas 2023-03-07 13:21:56 PST
We should use the m_nonVisibleProcessMemoryCleanupTimer to cleanup unnecessary memory on suspension instead of immediately cleaning up. We should also consider doing this on iOS.
Comment 1 Radar WebKit Bug Importer 2023-03-07 13:22:17 PST
<rdar://problem/106376732>
Comment 2 Miguel Salinas 2023-03-07 13:26:08 PST
Pull request: https://github.com/WebKit/WebKit/pull/11184
Comment 3 EWS 2023-03-07 20:06:45 PST
Committed 261354@main (3e3affb5f89d): <https://commits.webkit.org/261354@main>

Reviewed commits have been landed. Closing PR #11184 and removing active labels.