Bug 306031
| Summary: | [Linux] `MemoryPressureHandler::ReliefLogger::platformMemoryUsage()` result is inconsistent | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Vitaly Dyackhov <vitaly> |
| Component: | New Bugs | Assignee: | 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
`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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Vitaly Dyackhov
Pull request: https://github.com/WebKit/WebKit/pull/57049
EWS
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
<rdar://problem/168746327>