Closed Bug 1714382 Opened 3 years ago Closed 3 years ago

Include the Mac memory pressure state in crash reports

Categories

(Core :: Widget: Cocoa, enhancement)

Desktop
macOS
enhancement

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: haik, Assigned: haik)

References

Details

Attachments

(3 files)

Include the Mac memory pressure state in crash reports so we can correlate crashes with the low memory signal from the OS and determine if the signal will be useful for tab unloading, memory pressure events, etc.

Assignee: nobody → haftandilian
Attachment #9224974 - Attachment is obsolete: true
Attachment #9231466 - Flags: data-review?(chutten)
Attachment #9224974 - Attachment description: WIP: Bug 1714382 - Include the Mac memory pressure state in crash reports → Bug 1714382 - Include the Mac memory pressure state in crash reports r?spohl,KrisWright
Attachment #9224974 - Attachment is obsolete: false

Comment on attachment 9231466 [details]
Data review request for new crash report annotations

DATA COLLECTION REVIEW RESPONSE:

Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate?

Yes.

Is there a control mechanism that allows the user to turn the data collection on and off?

Yes. This collection is Telemetry so can be controlled through Firefox's Preferences.

If the request is for permanent data collection, is there someone who will monitor the data over time?

Yes, Haik Aftandilian is responsible.

Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?

Category 1, Technical.

Is the data collection request for default-on or default-off?

Default on for all channels.

Does the instrumentation include the addition of any new identifiers?

No.

Is the data collection covered by the existing Firefox privacy notice?

Yes.

Does the data collection use a third-party collection tool?

No.


Result: datareview+

Attachment #9231466 - Flags: data-review?(chutten) → data-review+
Pushed by haftandilian@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4f0fe70a0e34
Include the Mac memory pressure state in crash reports r=spohl,KrisWright

Backed out for causing assertion failures on nsCycleCollector.cpp.

Push with failures

Failure log

Backout link

Flags: needinfo?(haftandilian)
Pushed by haftandilian@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/32779cf61a9f
Include the Mac memory pressure state in crash reports r=spohl,KrisWright
Flags: needinfo?(haftandilian)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
Blocks: 1722626

Correct the description of the MacMemoryPressureSysctl crash annotation to indicate 1 is the value for normal memory pressure.

The integer values are from the XNU kernel event.h header file and observable with $ sysctl kern.memorystatus_vm_pressure_level.

Pushed by haftandilian@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f8178d7cb017
Patch 2 - Correct description of MacMemoryPressureSysctl r=jrmuizel DONTBUILD
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: