Bug 306031

Summary: [Linux] `MemoryPressureHandler::ReliefLogger::platformMemoryUsage()` result is inconsistent
Product: WebKit Reporter: Vitaly Dyackhov <vitaly>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Vitaly Dyackhov
Reported 2026-01-22 07:30:50 PST
`MemoryPressureHandler::ReliefLogger::platformMemoryUsage()` on Linux returns `MemoryUsage {processMemoryUsage(), memoryFootprint()}`. Both functions call `currentProcessMemoryStatus()` internally and return parts of the returned `ProcessMemoryStatus` structure, with the difference that `memoryFootprint()` returns a cached value and processMemoryUsage() not.
Attachments
Vitaly Dyackhov
Comment 1 2026-01-22 07:39:24 PST
EWS
Comment 2 2026-01-23 02:11:50 PST
Committed 306065@main (3f0e0215b031): <https://commits.webkit.org/306065@main> Reviewed commits have been landed. Closing PR #57049 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-01-23 02:12:14 PST
Note You need to log in before you can comment on or make changes to this bug.