Bug 253527

Summary: [macOS] Use cleanup timer when suspending web content process
Product: WebKit Reporter: Miguel Salinas <miguel_salinas>
Component: WebKit Process ModelAssignee: Miguel Salinas <miguel_salinas>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Mac (Apple Silicon)   
OS: macOS 13   

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.