MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / gc_dump_to_thread_root

Method gc_dump_to_thread_root

src/misc/gc_node.cpp:112–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110 }
111
112 void gc_root::gc_dump_to_thread_root() {
113 auto & threadRoot = gc_get_thread_root();
114 while ( gc_first ) {
115 auto node = gc_first;
116 gc_unlink(node);
117 threadRoot.gc_link(node);
118 }
119 }
120
121 void gc_root::gc_report() const {
122 DAS_FATAL_LOG("gc_root %p: count=%" PRIu64 "\n", (const void *)this, gc_count);

Callers 1

compileBuiltinModuleMethod · 0.80

Calls 1

gc_linkMethod · 0.80

Tested by

no test coverage detected