Scope
Activate the byte-identical js/bun/jsc/heapStats-mimalloc.test.ts corpus.
The four upstream tests validate:
- real mimalloc version, pages, committed memory, and malloc bins
- per-heap page dumps
- per-block ids and sizes
- well-formed dumps after a Bun.Transpiler allocation path
Baseline
The exact file is currently rewritten to one native todo:
- 0 pass
- 0 fail
- 0 unsupported
- 1 todo
The corpus file is byte-identical to ~/Code/bun. The real home-debug runtime already exposes native mimalloc aggregates and dump data; only the corpus harness bun:jsc module is stubbed.
Acceptance
- Preserve upstream byte identity.
- Bridge this corpus to real home-debug bun:jsc.heapStats output; do not synthesize mimalloc values.
- Preserve aggregate, pages-only, and blocks dump modes.
- Run all four upstream tests and add a permanent unchanged-corpus regression.
- Avoid changing lightweight heapStats behavior for unrelated corpus files.
- Pass the exact file and full home_test gate.
- Commit and push as Chris Breuer with no coauthors.
- Link completion to #66.