Closed
Bug 1294071
Opened 8 years ago
Closed 8 years ago
Move dispatchMemoryPressure out of nsAppShell.cpp
Categories
(Core Graveyard :: Widget: Android, defect, P3)
Tracking
(firefox51 fixed)
RESOLVED
FIXED
mozilla51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: jchen, Assigned: jchen)
References
Details
Attachments
(1 file)
12.84 KB,
patch
|
snorp
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•8 years ago
|
||
Move dispatchMemoryPressure out of GeckoAppShell and AndroidJNI.cpp
Attachment #8780173 -
Flags: review?(snorp)
Comment on attachment 8780173 [details] [diff] [review] Move dispatchMemoryPressure out of GeckoAppShell (v1) Review of attachment 8780173 [details] [diff] [review]: ----------------------------------------------------------------- ::: widget/android/MemoryMonitor.h @@ +17,5 @@ > +public: > + static void > + DispatchMemoryPressure() > + { > + NS_DispatchMemoryPressure(MemoryPressureState::MemPressure_New); At first glance it seems like we should be running this on the main thread, but NS_DispatchMemoryPressure just calls NS_DispatchToMainThread() which of course can be called from any thread. Maybe worth a comment.
Attachment #8780173 -
Flags: review?(snorp) → review+
Updated•8 years ago
|
Priority: -- → P3
Pushed by nchen@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/11c088af8ed9 Move dispatchMemoryPressure out of GeckoAppShell; r=snorp
Comment 4•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/11c088af8ed9
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•