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

Method testSafepointOneFile

deps/v8/tools/gcmole/gcmole_test.py:323–333  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

321 )
322
323 def testSafepointOneFile(self):
324 self.check(
325 outputs=[OutputLines(f'{SP} →')],
326 expected_gc={SP: True},
327 expected_gc_caused={SP: {'<Safepoint>'}},
328 )
329 self.check(
330 outputs=[OutputLines('B → A', f'A → {SP}')],
331 expected_gc={SP: True, 'A': True, 'B': True},
332 expected_gc_caused={'B': {'A'}, 'A': {SP}, SP: {'<Safepoint>'}},
333 )
334
335 def testCombinedOneFile(self):
336 self.check(

Callers

nothing calls this directly

Calls 2

checkMethod · 0.95
OutputLinesClass · 0.85

Tested by

no test coverage detected