summaryrefslogtreecommitdiff
path: root/src/pardes.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-30 15:19:25 -0300
committerGabriel Schneider <[email protected]>2026-10-30 17:02:40 -0300
commitecce844d227dcb9136a91355ea9e6ec543165fde (patch)
tree252f9af081c47503b95e1d3ad58fed2891f729b9 /src/pardes.zig
parent12d15ce9c00c96f5f7aa5bf30102d7ebebf0f9b7 (diff)
downloadpardes-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 'src/pardes.zig')
0 files changed, 0 insertions, 0 deletions