opencode/packages/codemode-rust/crates/psychoscript/tests
Sebastian Herrlinger 344e66c398 feat(codemode): bound incremental collector pauses with snapshot marking and chunked tracing
Replace the incremental-update barrier and its atomic finish with a
snapshot-at-the-beginning barrier: the first write to an object while
marking traces it before the write, cell writes shade the value they
overwrite, objects made while marking are black, and marking ends when
nothing is grey, with no rescan of the roots.

Count marking work in slots and trace long properties, elements and
entries a chunk at a time. Pay for no idle allocations at a cycle's
start, set the next threshold from the data live when marking ended,
and share the room between the arenas so the threshold holds.
2026-11-19 15:15:54 +01:00
..
api.rs refactor(codemode): size compile threads by a conservative nesting scan, not source size 2026-11-19 03:22:37 +01:00
boundary.rs feat(codemode): keep unpaired surrogates in namespace paths, error names, RegExp sources, bindings, metadata and durable data 2026-11-19 03:11:19 +01:00
gc.rs feat(codemode): bound incremental collector pauses with snapshot marking and chunked tracing 2026-11-19 15:15:54 +01:00
globals.rs feat(codemode): keep unpaired surrogates in namespace paths, error names, RegExp sources, bindings, metadata and durable data 2026-11-19 03:11:19 +01:00
host.rs feat(codemode): keep unpaired surrogates in namespace paths, error names, RegExp sources, bindings, metadata and durable data 2026-11-19 03:11:19 +01:00
host_recording.rs feat(codemode): keep unpaired surrogates in namespace paths, error names, RegExp sources, bindings, metadata and durable data 2026-11-19 03:11:19 +01:00
offload.rs feat(codemode): move long stretches of a run's compute to a worker thread, keeping host code on the executor 2026-11-19 03:32:56 +01:00
snapshot.rs feat(codemode): keep unpaired surrogates in namespace paths, error names, RegExp sources, bindings, metadata and durable data 2026-11-19 03:11:19 +01:00
streaming.rs feat(codemode): keep unpaired surrogates in namespace paths, error names, RegExp sources, bindings, metadata and durable data 2026-11-19 03:11:19 +01:00