WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
294348
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
Add attachment
proposed patch, testcase, etc.
David Degazio
Comment 1
2025-06-11 15:10:39 PDT
rdar://153125216
David Degazio
Comment 2
2025-06-12 12:52:34 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/46670
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.
Top of Page
Format For Printing
XML
Clone This Bug