Bug 255919

Summary: [GLib] Arrange to call malloc_trim on process suspension
Product: WebKit Reporter: Adrian Perez <aperez>
Component: WebKit Misc.Assignee: Adrian Perez <aperez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Linux   
See Also: https://bugs.webkit.org/show_bug.cgi?id=253173

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>