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
253133
memory pressure handler should call deleteAllCode with PreventCollectionAndDeleteAllCode
https://bugs.webkit.org/show_bug.cgi?id=253133
Summary
memory pressure handler should call deleteAllCode with PreventCollectionAndDe...
Cameron McCormack (:heycam)
Reported
2023-02-28 19:43:54 PST
The memory pressure handler currently calls GCController::deleteAllCode(DeleteAllCodeIfNotCollecting), but it turns out we hit the case of a collection being in progress moderately often. We already do a bunch of blocky work here to get memory usage down, so let's change this to PreventCollectionAndDeleteAllCode to guarantee we can drop all JIT code.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-02-28 19:44:21 PST
<
rdar://problem/106065668
>
Cameron McCormack (:heycam)
Comment 2
2023-02-28 19:47:01 PST
Pull request:
https://github.com/WebKit/WebKit/pull/10847
EWS
Comment 3
2023-03-02 03:48:39 PST
Committed
261061@main
(69098ebe6b1e): <
https://commits.webkit.org/261061@main
> Reviewed commits have been landed. Closing PR #10847 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