[webkit-changes] [WebKit/WebKit] 554801: Eagerly initialize TZoneHeapManager.
Commit Queue
noreply at github.com
Thu Aug 15 15:22:41 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5548011945e1a4ab98fd5981c8400adb9aab7aa2
https://github.com/WebKit/WebKit/commit/5548011945e1a4ab98fd5981c8400adb9aab7aa2
Author: Mark Lam <mark.lam at apple.com>
Date: 2024-08-15 (Thu, 15 Aug 2024)
Changed paths:
M Source/WTF/wtf/Threading.cpp
M Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in
M Source/WebKit/WebProcess/com.apple.WebProcess.sb.in
Log Message:
-----------
Eagerly initialize TZoneHeapManager.
https://bugs.webkit.org/show_bug.cgi?id=278177
rdar://133963518
Reviewed by Keith Miller and Per Arne Vollan.
If TZoneHeap is in use, we'll always need to initialize the TZoneHeapManager anyway. So, there's
no point in letting its initialization be lazy. This also allows us to further restrict the
sandbox allowance of kern.boottime to only during initialization time.
In this patch, we also add a build time check to ensure that BUSE_TZONE is true if USE_TZONE_MALLOC
is true. This helps ensures that the 2 flags are always set consistently.
* Source/WTF/wtf/Threading.cpp:
(WTF::initialize):
* Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:
* Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:
Canonical link: https://commits.webkit.org/282313@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