Open Bug 1492914 Opened 8 years ago Updated 2 years ago

Audit use of Handle::fromMarkedAddress

Categories

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

61 Branch
enhancement

Tracking

()

People

(Reporter: jonco, Unassigned)

References

(Blocks 1 open bug)

Details

There are a few places in the DOM where we do this and a whole bunch in the JS engine. Mostly the comments say it's fine but I'd like us to audit these and replace them with something safer where possible. The concern is that this pattern will skip the barriers when reading from a JS::Heap<> or that the location is not actually marked. https://searchfox.org/mozilla-central/search?q=fromMarkedLocation
Priority: -- → P3
Severity: normal → S3
Blocks: GC.stability
Severity: S3 → N/A
You need to log in before you can comment on or make changes to this bug.