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)
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.
| Assignee | ||
Comment 1•11 years ago
|
||
Moving PID capture earlier in launch process. Also bumping package version to account for last few merges.
Attachment #8558029 -
Flags: review?(rwood)
Comment 2•11 years ago
|
||
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+
Comment 3•11 years ago
|
||
| Assignee | ||
Updated•11 years ago
|
Attachment #8558614 -
Flags: review?(kgrandon)
Comment 4•11 years ago
|
||
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 5•11 years ago
|
||
| Assignee | ||
Comment 6•11 years ago
|
||
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+
| Assignee | ||
Comment 7•11 years ago
|
||
Try run: https://treeherder.mozilla.org/#/jobs?repo=gaia-try&revision=88ecbdb78833
In master: https://github.com/mozilla-b2g/gaia/commit/dfebaaa8aab43470f482d09d71137bab840c3ae9
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.
Description
•