Open Bug 1837032 Opened 1 year ago Updated 1 year ago

Reflect hazard analysis annotations in the callgraph

Categories

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

enhancement

Tracking

()

ASSIGNED

People

(Reporter: sfink, Assigned: sfink)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

When looking at hazards, it is very common to want to query the callgraph to see what other paths through the callgraph could lead to a GC. It will almost always several that would not be reported as causing hazards in practice, because they are annotated away in annotations.js. (In-source annotations are mostly already present in the callgraph.) So the first thing I have to do is manually ignore a bunch of different functions.

Although it is less efficient, it is more convenient for the annotations to be recorded in the callgraph. Any function that is annotated as not GC'ing will be treated as if it were in a GC-suppression region. The pathfinding code (in both the analysis and separate tool) will automatically take this into account (call edges have attributes such as "ATTR_GC_SUPPRESSED".)

Assignee: nobody → sphink
Status: NEW → ASSIGNED
Severity: -- → N/A
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: