mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-14 19:06:35 +02:00
Use a direct anonymous mapping for POSIX BlockAllocator chunks and trim any temporary padding needed to make the live 2 MiB chunk HeapBlock- aligned. The GC only needs each 16 KiB HeapBlock slot aligned so from_cell() can recover the block base by masking low bits. Request that alignment from mach_vm_map() as well, rather than aligning whole chunks to 2 MiB.
12 KiB
12 KiB