Open Bug 1277711 Opened 8 years ago Updated 2 years ago

use relaxed memory synchronization for threadsafe refcounting of immutable objects such as Atoms

Categories

(Core :: XPCOM, defect, P3)

defect

Tracking

()

Tracking Status
firefox49 --- affected

People

(Reporter: dbaron, Unassigned)

References

Details

(Keywords: perf)

Bug 1275755 made Atom reference counting threadsafe again. In bug 1275755 comment 36 I pointed out that since atoms are immutable, we could perhaps switch to using relaxed memory synchronization for reference counting of atoms, since I believe that the reasons that require acquire and release synchronization (see bug 1277709) do not apply to objects that are immutable. On the other hand, apparently Bobby has some plans for Atoms and servo-integration that might make atoms not be immutable.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.