RESOLVED FIXED 280294
Distinguish always/trivially compactible allocations in libpas/bmalloc
https://bugs.webkit.org/show_bug.cgi?id=280294
Summary Distinguish always/trivially compactible allocations in libpas/bmalloc
David Degazio
Reported 2024-09-24 14:21:20 PDT
rdar://136616671 Currently, we distinguish between compactible allocations and non-compactible allocations in bmalloc/libpas. Beyond this, we should also track allocations that are trivially compactible v.s. non-trivially compactible - some memory regions (like the JIT reservation, or libpas immortal heap) are already mapped as large contiguous ranges, so it's trivial to compress addresses within them as offsets from the base. This is as opposed to other allocations from libpas, where the allocator otherwise operates normally (i.e. we use the bmalloc heap), and might need to actively pick a different space to allocate objects out of when we ask for an allocation we intend to store as a compact or packed pointer.
Attachments
David Degazio
Comment 1 2024-09-24 14:38:31 PDT
EWS
Comment 2 2024-09-27 15:43:01 PDT
Committed 284395@main (2d71c4b7c91e): <https://commits.webkit.org/284395@main> Reviewed commits have been landed. Closing PR #34187 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.