RESOLVED FIXED 169990
Let MemoryPressureHandler track whether the process is active or inactive.
https://bugs.webkit.org/show_bug.cgi?id=169990
Summary Let MemoryPressureHandler track whether the process is active or inactive.
Andreas Kling
Reported 2017-03-22 19:47:21 PDT
Plumb relevant state down to MemoryPressureHandler as it changes instead of having the awkward memory kill eligibility callback.
Attachments
Patch (15.24 KB, patch)
2017-03-22 19:58 PDT, Andreas Kling
koivisto: review+
Patch for landing (14.88 KB, patch)
2017-03-22 20:33 PDT, Andreas Kling
no flags
Andreas Kling
Comment 1 2017-03-22 19:58:57 PDT
Andreas Kling
Comment 2 2017-03-22 20:33:02 PDT
Created attachment 305159 [details] Patch for landing
WebKit Commit Bot
Comment 3 2017-03-22 21:14:06 PDT
Comment on attachment 305159 [details] Patch for landing Clearing flags on attachment: 305159 Committed r214294: <http://trac.webkit.org/changeset/214294>
WebKit Commit Bot
Comment 4 2017-03-22 21:14:12 PDT
All reviewed patches have been landed. Closing bug.
Simon Fraser (smfr)
Comment 5 2018-07-20 09:57:08 PDT
Comment on attachment 305159 [details] Patch for landing View in context: https://bugs.webkit.org/attachment.cgi?id=305159&action=review > Source/WTF/wtf/MemoryPressureHandler.h:55 > +enum class WebsamProcessState { This is the worst name ever. Is it a pastiche of webkit and jetsam?
Note You need to log in before you can comment on or make changes to this bug.