Closed Bug 1674175 Opened 4 years ago Closed 4 years ago

Add a memory reporter for memory allocated in NativeFontResourceMac::Create

Categories

(Core :: Graphics, enhancement)

enhancement

Tracking

()

VERIFIED FIXED
84 Branch
Tracking Status
firefox83 --- fixed
firefox84 --- verified

People

(Reporter: jrmuizel, Assigned: jrmuizel)

References

Details

Attachments

(1 file)

It's very hard for us to encourage the system to free this memory so we should make sure we report it.

Blocks: 1625590

It's very hard for us to encourage the system to free this memory so we
should make sure we report it.

Assignee: nobody → jmuizelaar
Status: NEW → ASSIGNED
Pushed by jmuizelaar@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0ac2bc30a33b
Add a memory reporter for memory allocated in NativeFontResourceMac::Create. r=mstange
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch

Comment on attachment 9184664 [details]
Bug 1674175 - Add a memory reporter for memory allocated in NativeFontResourceMac::Create.

Beta/Release Uplift Approval Request

  • User impact if declined: We're a bit worried about bug 1625590. Without this we won't be able to track the memory allocated in NativeFontResourceMac::Create which will make it hard to judge the user impact of bug 1625590.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Pretty low risk. There should be no user visible change in behaviour. We just have a new memory reporter. There's a small possibility that this could introduce an additional leak, but that doesn't seem likely.
  • String changes made/needed:
Attachment #9184664 - Flags: approval-mozilla-beta?

Comment on attachment 9184664 [details]
Bug 1674175 - Add a memory reporter for memory allocated in NativeFontResourceMac::Create.

Low risk and needed for the investigation in bug 1625590, let's uplift into beta 8.

Attachment #9184664 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

If manual testing is required here from QA (comment 4: "Needs manual test from QE?: Yes"), can you please provide us some steps to reproduce?

Flags: needinfo?(jmuizelaar)

"Needs manual test from QE?: Yes" was a mistake. Sorry.

Flags: needinfo?(jmuizelaar)

Also I had to use this new feature on Nightly over the last days. It works fine, and allowed me to find an easy test case to reproduce the behavior of Firefox we created this reporter for.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: