summaryrefslogtreecommitdiff
path: root/docs/site/README
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-29 22:01:29 -0300
committerGabriel Schneider <[email protected]>2026-10-29 22:30:29 -0300
commit77c4a6e346e08538abc410f85a86bec7e8dbedb3 (patch)
tree02deb84c5276c9362c7e6929bfc4f23aaeb3b48d /docs/site/README
parent473bbaa838f290e932992ef625be2fdc05c952dc (diff)
downloadpardes-77c4a6e346e08538abc410f85a86bec7e8dbedb3.tar.gz
pardes-77c4a6e346e08538abc410f85a86bec7e8dbedb3.zip
screen-state replicas: a replica's emulators on the C heap, outside its rollback epoch, so a delta written under a held copy is no copy's to keep or put back (a ReleaseFast run found the heap corrupted)
terminal.zig: State.gpa, what an emulator and its State are allocated with: the core's, but on a screen-state replica the C heap (emulator_gpa). replica.zig applies deltas and rows with it; the epoch's pause is gone (rollback.zig back to part A's but for the rows cache). The harness in ReleaseFast corrupted the heap after 20 seeds: a safe build's check named an allocation the copy saved and a delta freed while the epoch was paused, reached as `Text.own` through a view's stale slot (views.zig keeps the live view's parked share as stale copies, and the copy walks it), the replica's old terminal's pin map at that address. With the emulator outside the epoch, nothing of it is saved, kept or put back, and every free under a held copy is put off again, as in part A. Debug, 20 seeds at 80 ms and the defaults: no divergence, every replica and terminal the authority's. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs/site/README')
0 files changed, 0 insertions, 0 deletions