Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1116d2ff3c63b5983f7b7c4173171c9a23368f96
      
https://github.com/WebKit/WebKit/commit/1116d2ff3c63b5983f7b7c4173171c9a23368f96
  Author: Mark Lam <[email protected]>
  Date:   2025-01-15 (Wed, 15 Jan 2025)

  Changed paths:
    M Source/WTF/wtf/TZoneMalloc.h
    M Source/WTF/wtf/TZoneMallocInlines.h
    M 
Source/WebKit/UIProcess/WebAuthentication/Mock/MockAuthenticatorManager.cpp
    M Source/WebKit/UIProcess/WebAuthentication/Mock/MockAuthenticatorManager.h
    M 
Source/WebKit/UIProcess/WebAuthentication/Virtual/VirtualAuthenticatorManager.cpp
    M 
Source/WebKit/UIProcess/WebAuthentication/Virtual/VirtualAuthenticatorManager.h
    M Source/bmalloc/bmalloc/TZoneHeap.cpp
    M Source/bmalloc/bmalloc/TZoneHeap.h
    M Source/bmalloc/bmalloc/TZoneHeapInlines.h
    M Source/bmalloc/bmalloc/TZoneHeapManager.cpp
    M Source/bmalloc/bmalloc/TZoneHeapManager.h

  Log Message:
  -----------
  Remove unneeded TZoneAllocationFallback.
https://bugs.webkit.org/show_bug.cgi?id=285973
rdar://142947419

Reviewed by Yusuke Suzuki.

The TZoneAllocationFallback was added as an option in case we need to turn off 
TZoneHeap in only
the WebContent process in order to avoid a memory regression.  It turns out 
that we can enable
TZoneHeap for all WebKit processes without regressing memory usage.  So, this 
option is no longer
needed, and can be removed to simplify the code.

Also annotate a few more classes with the appropriate TZONE_ALLOCATED macro.

* Source/WTF/wtf/TZoneMalloc.h:
* Source/WTF/wtf/TZoneMallocInlines.h:
* Source/WebKit/UIProcess/WebAuthentication/Mock/MockAuthenticatorManager.cpp:
* Source/WebKit/UIProcess/WebAuthentication/Mock/MockAuthenticatorManager.h:
* 
Source/WebKit/UIProcess/WebAuthentication/Virtual/VirtualAuthenticatorManager.cpp:
* 
Source/WebKit/UIProcess/WebAuthentication/Virtual/VirtualAuthenticatorManager.h:
* Source/bmalloc/bmalloc/TZoneHeap.cpp:
(bmalloc::api::tzoneAllocateNonCompactSlow):
(bmalloc::api::tzoneAllocateCompactSlow):
(bmalloc::api::tzoneFree):
(bmalloc::api::tzoneAllocateNonCompactWithFastFallbackSlow): Deleted.
(bmalloc::api::tzoneAllocateCompactWithFastFallbackSlow): Deleted.
(bmalloc::api::tzoneAllocateNonCompactWithIsoFallbackSlow): Deleted.
(bmalloc::api::tzoneAllocateCompactWithIsoFallbackSlow): Deleted.
(bmalloc::api::tzoneFreeFast): Deleted.
(bmalloc::api::tzoneFreeWithDebugMalloc): Deleted.
* Source/bmalloc/bmalloc/TZoneHeap.h:
* Source/bmalloc/bmalloc/TZoneHeapInlines.h:
* Source/bmalloc/bmalloc/TZoneHeapManager.cpp:
(bmalloc::api::determineTZoneMallocFallback):
(bmalloc::api::TZoneHeapManager::populateBucketsForSizeClass):
(bmalloc::api::TZoneHeapManager::heapRefForIsoFallback): Deleted.
* Source/bmalloc/bmalloc/TZoneHeapManager.h:

Canonical link: https://commits.webkit.org/288935@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to