Closed
Bug 1057565
Opened 11 years ago
Closed 11 years ago
Get rid of |MOZ_IGNORE_NUWA_PROCESS|
Categories
(Toolkit :: about:memory, defect)
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: erahm, Assigned: erahm)
References
Details
Attachments
(1 file)
The undocumented, but required, env var should be replaced w/ automatic Nuwa detection.
We can do this by simply grepping the b2g-ps output for 'Nuwa'.
Note: Bug 1000324 seeks to fix this in a more elegant way by signalling when GC/CC logging is completed, but we still need a better solution for older releases.
| Assignee | ||
Comment 1•11 years ago
|
||
This still preserves the ability to override with MOZ_IGNORE_NUWA_PROCESS=1, but otherwise dynamically checks for a Nuwa process.
Attachment #8477690 -
Flags: review?(khuey)
Comment 2•11 years ago
|
||
+1
Comment 3•11 years ago
|
||
If I recall correctly, the reason this wasn't done originally is that there's a hope that, some day, Nuwa would be able to participate in memory reporting, and decrementing the process count would be wrong for the versions of Gecko after that. khuey might know more.
Comment 4•11 years ago
|
||
> If I recall correctly, the reason this wasn't done originally is that
> there's a hope that, some day, Nuwa would be able to participate in memory
> reporting, and decrementing the process count would be wrong for the
> versions of Gecko after that.
And when that day comes, this can be fixed.
A pet peeve of mine is software that has --make-it-actually-work flags. This is a perfect example.
Comment on attachment 8477690 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/B2G/pull/379
r=me
Please send email to dev-b2g when this lands.
Attachment #8477690 -
Flags: review?(khuey) → review+
| Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 6•11 years ago
|
||
Assignee: nobody → erahm
Status: NEW → RESOLVED
Closed: 11 years ago
status-b2g-v1.4:
--- → fixed
status-b2g-v2.0:
--- → fixed
status-b2g-v2.1:
--- → fixed
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in
before you can comment on or make changes to this bug.
Description
•