WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
287984
[libpas] Add hook to scavenger to allow other libraries to schedule work for it
https://bugs.webkit.org/show_bug.cgi?id=287984
Summary
[libpas] Add hook to scavenger to allow other libraries to schedule work for it
Marcus Plutowski
Reported
2025-02-19 11:08:54 PST
rdar://145154078
The new arena allocator will need functionality equivalent to the libpas scavenger. However, it doesn’t make sense to add a new thread for two reasons: 1. Unnecessary scheduling / memory overhead 2. The libpas scavenger is heavily tuned for performance, no need to duplicate that effort (and potentially perturb it) To enable other components to use the scavenger, we should add a hook that allows other components to schedule work for the scavenger to do at a later date, across the libpas library boundary.
Attachments
Add attachment
proposed patch, testcase, etc.
Marcus Plutowski
Comment 1
2025-02-20 08:08:34 PST
Pull request:
https://github.com/WebKit/WebKit/pull/40971
EWS
Comment 2
2025-02-24 14:08:22 PST
Committed
290978@main
(c7d6142e894f): <
https://commits.webkit.org/290978@main
> Reviewed commits have been landed. Closing PR #40971 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