Files
tinygo/builder
Moses Narrow 338af91ae6 runtime: implement MemStats.NumGC
Reading runtime.MemStats.NumGC is common enough in dependency code that its
absence is a compile error for programs that never look at the value. Rather
than add the field as a constant zero, track it:

- gc_blocks: count completed cycles in runGC, so collections triggered by an
  allocation are counted as well as explicit runtime.GC() calls. The counter is
  read and written under gcLock, like the other counters beside it.
- gc_boehm: report bdwgc's own gc_no from the prof_stats struct.
- gc_leaking: always 0, since that collector never completes a cycle.
2026-08-18 14:18:29 -07:00
..
2025-10-03 15:46:25 +02:00
2026-07-06 21:58:48 +02:00
2026-07-17 19:06:57 +02:00
2026-07-06 21:58:48 +02:00
2026-07-06 21:58:48 +02:00
2026-07-06 21:58:48 +02:00
2026-07-17 19:06:57 +02:00
2025-06-13 14:42:23 +02:00
2026-07-06 21:58:48 +02:00
2025-06-13 14:42:23 +02:00
2024-12-19 15:08:37 +01:00
2026-07-06 21:58:48 +02:00
2026-07-06 21:58:48 +02:00
2025-06-13 14:42:23 +02:00
2025-06-13 14:42:23 +02:00