Closed Bug 1128605 Opened 11 years ago Closed 11 years ago

[Raptor] Assign application PID earlier in launch process to aid in problem recovery

Categories

(Firefox OS Graveyard :: Gaia::PerformanceTest, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Eli, Assigned: Eli)

Details

(Keywords: perf)

Attachments

(4 files)

Currently if a problem occurs in the launch of an application, we try to recover by killing the application process and recovering. What isn't helpful is that we don't capture the app's PID until it is fully loaded, so it's pretty unlikely we will have a problem occur after fully loaded or that we have the PID earlier. We should set the PID of the launching application as soon as we have it so that if we need to kill the app and restart we have a much better chance of being able to do so.
Moving PID capture earlier in launch process. Also bumping package version to account for last few merges.
Attachment #8558029 - Flags: review?(rwood)
Comment on attachment 8558029 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/raptor/pull/10 LGTM and works great. Tested by running launch test on flame and emulator, verifying the application PID was captured and the app killed accordingly.
Attachment #8558029 - Flags: review?(rwood) → review+
Attachment #8558614 - Flags: review?(kgrandon)
Comment on attachment 8558614 [details] [review] [PullReq] eliperelman:bug-1128605 to mozilla-b2g:master I'm fine leaving an R+ here for the simple package bump. I am a bit worried that our dependencies are going to get out of control, we may want to start watching that soon. Looks good for now. Feel free to apply the R+ to the gaia node_modules.revision bump as well.
Attachment #8558614 - Flags: review?(kgrandon) → review+
Comment on attachment 8558618 [details] [review] [PullReq] eliperelman:bug-1128605 to mozilla-b2g:master Carrying over R+ based on comment 4.
Attachment #8558618 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: