Bug 219570 - [WTF] fix SYSTEM_MALLOC build on non-Linux
Summary: [WTF] fix SYSTEM_MALLOC build on non-Linux
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-12-05 15:41 PST by Samuel Thibault
Modified: 2020-12-06 13:32 PST (History)
6 users (show)

See Also:


Attachments
proposed fix (1.26 KB, text/plain)
2020-12-05 15:41 PST, Samuel Thibault
no flags Details
Patch (1.65 KB, patch)
2020-12-06 12:51 PST, Samuel Thibault
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Thibault 2020-12-05 15:41:18 PST
Created attachment 415502 [details]
proposed fix

Hello,

In the SYSTEM_MALLOC case, only the Windows and Linux ports have an implementation for computeRAMSize. The attached patch adds a generic Unix one using sysconf.
Comment 1 Samuel Thibault 2020-12-06 12:51:11 PST
Created attachment 415524 [details]
Patch
Comment 2 EWS 2020-12-06 13:31:40 PST
Committed r270488: <https://trac.webkit.org/changeset/270488>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 415524 [details].
Comment 3 Radar WebKit Bug Importer 2020-12-06 13:32:15 PST
<rdar://problem/72026959>