Closed Bug 1659065 Opened 4 years ago Closed 4 years ago

WeakRef trace hook unnecessarily triggers barriers

Categories

(Core :: JavaScript: GC, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: jonco, Assigned: jonco)

Details

Attachments

(1 file)

WeakRefObject::trace calls NativeObject::setPrivate to update the private slot when it could call setPrivateUnbarriered.

Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/01b2eb982137 Don't trigger barriers in WeakRef trace hook r=sfink
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: