RESOLVED FIXED294348
Allow profiling of libpas allocations on local allocator granularity
https://bugs.webkit.org/show_bug.cgi?id=294348
Summary Allow profiling of libpas allocations on local allocator granularity
David Degazio
Reported 2025-06-11 15:04:46 PDT
We already have a lot of different profiling hooks that allow profiling logic to be injected into a lot of different code paths in libpas. However, it's hard to develop profiling policies that vary based on type of allocation or that are probabilistic. One nice mechanism for this is the local allocator, where at least for segregated allocations, we can toggle profiling for a specific local allocator based on some policy in the allocation medium-to-slow path, instead of burdening the fastest fast paths with additional logic. This can help us collect useful profiling information while reducing the impact on normal program performance characteristics.
Attachments
David Degazio
Comment 1 2025-06-11 15:10:39 PDT
David Degazio
Comment 2 2025-06-12 12:52:34 PDT
EWS
Comment 3 2025-06-16 10:51:34 PDT
Committed 296285@main (e9f91e517391): <https://commits.webkit.org/296285@main> Reviewed commits have been landed. Closing PR #46670 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.