[webkit-changes] [WebKit/WebKit] 579a08: [WTF] Use SequesteredArenaMalloc in JavaScriptCore
Marcus Plutowski
noreply at github.com
Fri Feb 28 08:58:49 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 579a088a3e7a8f265ebb2352efad4454e761379d
https://github.com/WebKit/WebKit/commit/579a088a3e7a8f265ebb2352efad4454e761379d
Author: Marcus Plutowski <marcus_plutowski at apple.com>
Date: 2025-02-28 (Fri, 28 Feb 2025)
Changed paths:
M Source/WTF/wtf/PlatformUse.h
M Source/WTF/wtf/SequesteredAllocator.h
Log Message:
-----------
[WTF] Use SequesteredArenaMalloc in JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=288779
rdar://145797438
Reviewed by Mark Lam.
This enables PROTECTED_JIT, which gates the usage of
SequesteredArenaMalloc across the codebase.
The increase to the granule size is a perf tuning decision. This
number is essentially the total number of bytes a compiler thread
can allocate before it needs to map additional pages. Given that
we only allocate DFG out of the arena for now, 16 pages is more than
enough. However, the higher this number, the more memory will be used,
so in the case of a memory regression this is the knob to tune down.
* Source/WTF/wtf/PlatformUse.h:
* Source/WTF/wtf/SequesteredAllocator.h:
Canonical link: https://commits.webkit.org/291337@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list