Runtime check is no longer necessary in barriers
Categories
(Core :: JavaScript: GC, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox96 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
Details
Attachments
(3 files)
Following on from bug 1734801, we can improve our barriers in a similar way by removing the check we sometimes that the thing we're looking at is not from another runtime. If it is from another runtime it will always be black, so we can remove this check and let the mark check handle it.
| Assignee | ||
Comment 1•4 years ago
|
||
With the following patches this may be read by other threads so we need to make
it atomic to avoid undefined behaviour. It is only ever written by the main
thread of the runtime that owns the zone.
| Assignee | ||
Comment 2•4 years ago
|
||
This check is no longer required and can be handled by the mark check.
Depends on D130995
| Assignee | ||
Comment 3•4 years ago
|
||
Depends on D130996
Updated•4 years ago
|
Comment 5•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/ff8c4f9a99fc
https://hg.mozilla.org/mozilla-central/rev/0694472ccb3d
https://hg.mozilla.org/mozilla-central/rev/dc599b0ff23d
Description
•