Closed
Bug 1961755
Opened 25 days ago
Closed 22 days ago
TenuredCell::markIfUnmarkedAtomic method is misnamed
Categories
(Core :: JavaScript: GC, task, P5)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
139 Branch
Tracking | Status | |
---|---|---|
firefox139 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
This method is thread safe but may return false positives as explained in the comment here: https://searchfox.org/mozilla-central/source/js/src/gc/Heap-inl.h#127-129
So although this is thread safe but the name 'atomic' is a bit misleading. We could rename this and then add an actual atomic version for the occasions this would be useful.
Assignee | ||
Comment 1•22 days ago
|
||
These methods may return false positives so are not really atomic. Thread-safe
is a better description.
Updated•22 days ago
|
Assignee: nobody → jcoppeard
Status: NEW → ASSIGNED
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1182570637cc
Rename markIfUnmarkedAtomic methods to markIfUnmarkedThreadSafe r=sfink
Comment 3•22 days ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 22 days ago
status-firefox139:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•