Reflect hazard analysis annotations in the callgraph
Categories
(Core :: JavaScript: GC, enhancement, P2)
Tracking
()
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 | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Description
•