about:memory diff should clear the PID for utility processes
Categories
(Toolkit :: about:memory, defect)
Tracking
()
People
(Reporter: mccr8, Assigned: mccr8)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
In an about:memory report, the utility process shows up like this:
Utility (pid: 4216, sandboxingKind: 1)
For whatever reason, the about:memory diff fails to wipe the PID. It should be turned into
Utility (pid: NNN, sandboxingKind: 1)
like the other processes. The sandboxingKind looks like something that will be stable across different runs, so I think we want to keep it.
Presumably there's some regexp that needs to be adjusted in about:memory
Assignee | ||
Updated•2 years ago
|
Comment 1•2 years ago
|
||
sandboxingKind
depends on the sandbox applied, so it might be different values
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
(In reply to Alexandre LISSY :gerard-majax from comment #1)
sandboxingKind
depends on the sandbox applied, so it might be different values
Right, but my guess is that if you load a certain set of pages in two different browser sessions, the sandboxing kind would be stable across runs for a given process, while the PID won't be.
Comment 3•2 years ago
|
||
if it's the same set of pages, yes
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 4•2 years ago
|
||
Utility processes have their pid like "pid: 12345", so change the regexp to match it.
This pidRegex is used to normalize PIDs in diffs. We need this change even if the format
gets changed so that it'll work on older versions.
Assignee | ||
Comment 5•2 years ago
|
||
Other processes print their pid like (pid 12345), so change utility processes to be consistent.
Comment 7•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/446f0ae768fc
https://hg.mozilla.org/mozilla-central/rev/5da77534d25a
Description
•