Closed Bug 1810244 Opened 1 year ago Closed 1 year ago

Prevent use of dynamic nsThread names in Rust

Categories

(Core :: XPCOM, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: rkraesig, Assigned: rkraesig)

References

Details

Attachments

(1 file)

Bug 1613440 added a checker to prevent a profusion of new threads. Unfortunately, it operates directly on C++ source code, and there is no equivalent for Rust code.

It is possible to construct such an equivalent (see bug 1810242), but it's nontrivial. For now, let's just prevent the use of dynamic thread names, to minimize the profusion of uninterestingly-distinct thread names in our XPCOMSpinEventLoopStack crash-report field.

Assignee: nobody → rkraesig
Status: NEW → ASSIGNED
Pushed by rkraesig@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c1de3ca13dd4
restrict use of dynamic thread names via moz_task  r=application-update-reviewers,bytesized,emilio
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: