Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3f011645459b97e268c1d89d9878de8043839113
https://github.com/WebKit/WebKit/commit/3f011645459b97e268c1d89d9878de8043839113
Author: Michael Saboff <[email protected]>
Date: 2024-10-17 (Thu, 17 Oct 2024)
Changed paths:
M Source/bmalloc/bmalloc/TZoneHeapManager.cpp
M Source/bmalloc/bmalloc/TZoneHeapManager.h
Log Message:
-----------
[TZone] Add code to set bucket counts for size classes via an environment
variable
https://bugs.webkit.org/show_bug.cgi?id=281651
rdar://138092892
Reviewed by David Degazio.
Added code to change the number of buckets per size class via an environment
variable (TZONE_BUCKET_CONFIG).
This code is a compile time feature that is enabled when
BUSE_BUCKETS_FOR_SIZE_CLASSES_FROM_ENVVAR is set to 1
in TZoneHeapManager.cpp. This is intended for trying different siz class
values without having to recompile.
* Source/bmalloc/bmalloc/TZoneHeapManager.cpp:
(bmalloc::api::TZoneHeapManager::init):
(bmalloc::api::TZoneHeapManager::bucketCountForSizeClass):
* Source/bmalloc/bmalloc/TZoneHeapManager.h:
(bmalloc::api::TZoneHeapManager::bucketCountForSizeClass): Deleted.
Canonical link: https://commits.webkit.org/285365@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