v2 / vlib / builtin / builtin_d_vgc.c.v
10 lines · 8 sloc · 482 bytes · 47593c815a02507f0916c2e2a486e4cc86c7bd8c
Raw
1// builtin_d_vgc.c.v - V Garbage Collector additional support
2// Conditionally compiled when -d vgc is used.
3// The gc_heap_usage/gc_memory_use functions are in allocation.c.v with $if vgc ? branches.
4
5module builtin
6
7// This file exists to ensure the vgc compile define activates VGC-specific code paths
8// throughout the builtin module. The actual VGC implementation is in:
9// - vgc_d_vgc.c.v: Core types, heap, allocation
10// - vgc_gc_d_vgc.c.v: GC mark, sweep, orchestration
11