Bug 306065

Summary: [libpas] Change maximum medium-bitfit object size to 32k
Product: WebKit Reporter: Marcus Plutowski <marcus_plutowski>
Component: bmallocAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ggaren, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Marcus Plutowski
Reported 2026-01-22 14:34:05 PST
rdar://164222706 Currently, objects that are too large for the medium-segregated-heap of a pas_heap (e.g. in the present bmalloc_heap configuration, this is ~14k) fall through into the marge-bitfit-heap, skipping the medium-bitfit-heap entirely. By separating the page size of the two heaps (as is the case for small heaps) we can avoid this and achieve some memory savings. This will require us to add a second page-header-table, but empirically the cost of this should be outweighed by the benefits.
Attachments
Marcus Plutowski
Comment 1 2026-01-22 14:37:14 PST
EWS
Comment 2 2026-02-09 20:07:49 PST
Committed 307140@main (ef24c55e1661): <https://commits.webkit.org/307140@main> Reviewed commits have been landed. Closing PR #57078 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.