Add better logging to process switching code
Categories
(Core :: DOM: Content Processes, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: pbone, Assigned: pbone)
Details
Attachments
(6 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
Add better logging (printf debugging ;-) ) to process switching code to make it easier to make changes and find problems.
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
- Create new logger.
- Use logger for process switch logging.
- Remove "[process-switch]: " string from log messages, it is redundant.
This may eventually move to a whole new module if/when process switching
moves there.
Depends on D65439
Assignee | ||
Comment 3•6 years ago
|
||
Depends on D65440
Assignee | ||
Comment 4•6 years ago
|
||
Depends on D65441
Assignee | ||
Comment 5•6 years ago
|
||
FYI mattwoodrow,
I may add more patches yet, especially to debug E10SUtils methods like getRemoteTypeForURIObject
and shouldLoadURI
and friends.
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 6•6 years ago
|
||
It might not be clear from the diff (at least from mercurial it's not) but
I've moved the internals of validatedWebRemoteType() into an inner function
to make the logging calls before/after it easier to see together.
Assignee | ||
Comment 7•6 years ago
|
||
Comment 9•6 years ago
|
||
Backed out for leaks at mozilla::dom::Console::CreateInstance
Backout link: https://hg.mozilla.org/integration/autoland/rev/46fc24cc6656749d7f9593517c3f526ebf4d4030
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=293456600&repo=autoland&lineNumber=34183
Assignee | ||
Comment 10•6 years ago
|
||
Thanks Narcis,
I spoke with mcrr8 and he suggested whitelisting these leaks. Seems to be working on try and I'm landing again now.
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/83770ec96b2e
https://hg.mozilla.org/mozilla-central/rev/65357be13f82
https://hg.mozilla.org/mozilla-central/rev/4665050e46f0
https://hg.mozilla.org/mozilla-central/rev/d9ea56821b1a
https://hg.mozilla.org/mozilla-central/rev/7244027ef6ed
https://hg.mozilla.org/mozilla-central/rev/01ee611f9740
Description
•