All users were logged out of Bugzilla on October 13th, 2018

Cost control running with foreground priority when not visible (again)

VERIFIED FIXED in B2G C4 (2jan on)

Status

P2
normal
VERIFIED FIXED
6 years ago
6 years ago

People

(Reporter: cjones, Assigned: vingtetun)

Tracking

({regression})

unspecified
B2G C4 (2jan on)
ARM
Gonk (Firefox OS)
regression

Firefox Tracking Flags

(blocking-basecamp:+)

Details

Attachments

(1 attachment)

Found when running membuster app, which regressed quite a bit.

STR
 (1) $ adb reboot
 (2) (Wait for b2g to come up).  Stay at lock screen.
 (3) $ adb shell b2g-ps --oom

Results from today's nightly branch

APPLICATION       OOM_ADJ  OOM_SCORE  OOM_SCORE_ADJ  USER     PID   PPID  VSIZE  RSS     WCHAN    PC         NAME
b2g                  0        259         0          root      105   1     172868 53044 ffffffff 400dd330 S /system/b2g/b2g
Cost Control         1        187         67         app_317   317   105   62660  22064 ffffffff 40062330 S /system/b2g/plugin-container
Homescreen           1        208         67         app_377   377   105   72504  25836 ffffffff 40053330 S /system/b2g/plugin-container
(Preallocated a      6        493         400        app_410   410   105   55448  17148 ffffffff 40034330 S /system/b2g/plugin-container

An OOM score of "1" means "foreground".

Cost control isn't visible anywhere onscreen.  It doesn't even have an entry in the task switcher.

This is locking up ~13MB of memory that should be reclaimable.  Needs to block.
Regressed between 12/12 and 12/26.
Assignee: nobody → salva
blocking-basecamp: ? → +
Keywords: regression
Priority: -- → P2
Target Milestone: --- → B2G C4 (2jan on)
Assignee: salva → 21
Attachment #698615 - Flags: review? → review?(etienne)
Attachment #698615 - Flags: review?(etienne) → review+
Working fine in Gecko-cfad7c9.Gaia-6c53dfd.

$ adb shell b2g-ps --oom
APPLICATION       OOM_ADJ  OOM_SCORE  OOM_SCORE_ADJ  USER     PID   PPID  VSIZE  RSS     WCHAN    PC         NAME
b2g                  0        253         0          root      108   1     170312 53332 ffffffff 4010c330 S /system/b2g/b2g
Cost Control         6        534         400        app_351   351   108   68404  25328 ffffffff 400e2330 S /system/b2g/plugin-container
Homescreen           3        333         200        app_364   364   108   66412  25148 ffffffff 400f2330 S /system/b2g/plugin-container
(Preallocated a      6        463         400        root      400   108   56988  17644 ffffffff 40077330 S /system/b2g/plugin-container
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.