Bug 255919 - [GLib] Arrange to call malloc_trim on process suspension
Summary: [GLib] Arrange to call malloc_trim on process suspension
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Linux
: P2 Normal
Assignee: Adrian Perez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-04-25 06:51 PDT by Adrian Perez
Modified: 2023-04-25 09:03 PDT (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 Adrian Perez 2023-04-25 06:51:07 PDT
Like the Cocoa port in 261087@main we can arrange to call malloc_trim
(if the libc has the function) in the GTK and WPE ports inside
WebProcess::releaseSystemMallocMemory()
Comment 1 Adrian Perez 2023-04-25 06:56:25 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13145
Comment 2 EWS 2023-04-25 09:02:08 PDT
Committed 263373@main (4d11cf4168d7): <https://commits.webkit.org/263373@main>

Reviewed commits have been landed. Closing PR #13145 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-04-25 09:03:20 PDT
<rdar://problem/108506570>