Closed Bug 1795372 Opened 3 years ago Closed 3 years ago

FuncScope should automatically keepalive mNotLost

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox-esr102 --- fixed
firefox107 --- fixed

People

(Reporter: jgilbert, Assigned: jgilbert)

References

Details

Attachments

(2 files)

Right now we have to explicitly keepalive mNotLost for functions that need it.
It's safer if we just keepalive unconditionally, as long as the perf isn't too bad. (it shouldn't be)
If we need a less-safe perf carve-out, it should be a safety-opt-out, rather than safety-opt-in like now.

Also remove unused FuncScopeId.

Assignee: nobody → jgilbert
Status: NEW → ASSIGNED

Now that FuncScope keepalives mNotLost, individual functions don't need
to.

Pushed by jgilbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/143f35b82018 Keepalive mNotLost within FuncScope. r=gfx-reviewers,lsalzman https://hg.mozilla.org/integration/autoland/rev/bdd24cc1c1fd Remove redundant keepalives. r=gfx-reviewers,lsalzman
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
See Also: → CVE-2022-46882

Comment on attachment 9298689 [details]
Bug 1795372 - Keepalive mNotLost within FuncScope.

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: Prevent a class of sec and/or stability issues that is fixed on Release.
  • User impact if declined: Leaves in a class of sec and/or stability issues that is fixed on Release.
  • Fix Landed on Version: 107
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Lots of tests
Attachment #9298689 - Flags: approval-mozilla-esr102?
Attachment #9298693 - Flags: approval-mozilla-esr102?

Comment on attachment 9298689 [details]
Bug 1795372 - Keepalive mNotLost within FuncScope.

Approved for 102.6esr.

Attachment #9298689 - Flags: approval-mozilla-esr102? → approval-mozilla-esr102+
Attachment #9298693 - Flags: approval-mozilla-esr102? → approval-mozilla-esr102+
Duplicate of this bug: 1791392
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: