MCPcopy Create free account
hub / github.com/nodejs/node / create_collector

Method create_collector

deps/v8/tools/gcmole/gcmole_test.py:200–206  ·  view source on GitHub ↗
(self, outputs)

Source from the content-addressed store, hash-verified

198 self.assertDictEqual(call_graph.funcs, dict(G=set('F'), **expected))
199
200 def create_collector(self, outputs):
201 Options = collections.namedtuple('OptionsForCollector', ['allowlist'])
202 options = Options(True)
203 call_graph = self.create_callgraph(*outputs)
204 collector = gcmole.GCSuspectsCollector(options, call_graph.funcs)
205 collector.propagate()
206 return collector
207
208 def check(self, outputs, expected_gc, expected_gc_caused):
209 """Verify the GCSuspectsCollector propagation and outputs against test

Callers 2

checkMethod · 0.95

Calls 3

create_callgraphMethod · 0.95
propagateMethod · 0.95
OptionsFunction · 0.50

Tested by

no test coverage detected