Closed Bug 1961755 Opened 25 days ago Closed 22 days ago

TenuredCell::markIfUnmarkedAtomic method is misnamed

Categories

(Core :: JavaScript: GC, task, P5)

task

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.

Blocks: sm-api

These methods may return false positives so are not really atomic. Thread-safe
is a better description.

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
Status: ASSIGNED → RESOLVED
Closed: 22 days ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
Regressions: 1963334
Regressions: 1963274
No longer regressions: 1963274
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: