Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ef24c55e16610e31188096dc82d920544d362101
https://github.com/WebKit/WebKit/commit/ef24c55e16610e31188096dc82d920544d362101
Author: Marcus Plutowski <[email protected]>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M Source/bmalloc/libpas/Documentation.md
M Source/bmalloc/libpas/src/libpas/bmalloc_heap_config.h
M Source/bmalloc/libpas/src/libpas/hotbit_heap_config.h
M Source/bmalloc/libpas/src/libpas/iso_heap_config.h
M Source/bmalloc/libpas/src/libpas/iso_test_heap_config.h
M Source/bmalloc/libpas/src/libpas/jit_heap_config.h
M Source/bmalloc/libpas/src/libpas/jit_heap_config_root_data.h
M Source/bmalloc/libpas/src/libpas/minalign32_heap_config.h
M Source/bmalloc/libpas/src/libpas/pagesize64k_heap_config.h
M Source/bmalloc/libpas/src/libpas/pas_basic_heap_config_root_data.h
M Source/bmalloc/libpas/src/libpas/pas_heap_config_utils.c
M Source/bmalloc/libpas/src/libpas/pas_heap_config_utils.h
M Source/bmalloc/libpas/src/libpas/pas_heap_config_utils_inlines.h
M Source/bmalloc/libpas/src/libpas/pas_internal_config.h
M Source/bmalloc/libpas/src/libpas/thingy_heap_config.h
Log Message:
-----------
[libpas] Change maximum medium-bitfit object size to 32k
https://bugs.webkit.org/show_bug.cgi?id=306065
rdar://164222706
Reviewed by Mark Lam.
Previously, objects that were too large for the medium-segregated-heap of
a pas_heap (e.g. in the present bmalloc_heap configuration, this is
~14k) would 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) this patch allows them to
use the medium-bitfit-heap until size 32k, resulting in a
meaningful memory progression.
This required the addition of a second page-header-table, but
empirically the cost of this was outweighed by the benefits.
Beyond that, it also changes the PAS_MIN_OBJECTS_PER_PAGE parameter from
10 to 11 in order to compensate for some of the deleterious side-effects
of this change that were previously observed elsewhere.
Canonical link: https://commits.webkit.org/307140@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications