| 136 | // when a specific gc_id is assigned. Useful for tracing where a leaked node was born. |
| 137 | |
| 138 | static uint64_t gc_init_break_on_id() { |
| 139 | if ( auto env = getenv("DAS_GC_BREAK_ON_ID") ) { |
| 140 | return strtoull(env, nullptr, 0); |
| 141 | } |
| 142 | return 0; |
| 143 | } |
| 144 | |
| 145 | static void gc_check_break ( uint64_t id ) { |
| 146 | if ( gc_break_on_id == 0 ) { |