Open Bug 1273674 Opened 8 years ago Updated 2 years ago

Stop the hazard analysis from complaining about hazards within GC

Categories

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

defect

Tracking

()

People

(Reporter: sfink, Unassigned)

References

(Blocks 1 open bug)

Details

In bug 1272604, jonco received a hazard report from adding a call to a function pointer from within a nursery collection. Such hazards are unlikely to be helpful, though it's true that even within a GC, holding onto unrooted pointers is dangerous if you do it around something that can move them.

But one possibility is treating the entire body of the GC entry point functions as being within an AutoSuppressGCAnalysis -- don't report hazards from callgraph subtrees entirely underneath a GC entry point.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.