diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-30 15:19:25 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-30 17:02:40 -0300 |
| commit | ecce844d227dcb9136a91355ea9e6ec543165fde (patch) | |
| tree | 252f9af081c47503b95e1d3ad58fed2891f729b9 /test/bench_util.zig | |
| parent | 12d15ce9c00c96f5f7aa5bf30102d7ebebf0f9b7 (diff) | |
| download | pardes-ecce844d227dcb9136a91355ea9e6ec543165fde.tar.gz pardes-ecce844d227dcb9136a91355ea9e6ec543165fde.zip | |
c_heap: a heap's allocator read as its bytes are, through a volatile pointer: std's stateless allocators (c_, page_, smp_, wasm_allocator) leave `ptr` undefined, and one never written outside a test (replica.zig's zstd heap over c_allocator, web.zig's over wasm_allocator) is a constant to a release build, which folded `known.ptr == current.ptr` to false: every malloc named a new allocator and the 65th panicked (the box's session aborted at about its 16th far join; the core's table held 64 copies of {ptr 0, c_allocator's vtable}); its test runs built ReleaseSafe in unit-test too, where it panicked before
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/bench_util.zig')
0 files changed, 0 insertions, 0 deletions
