Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Abfall tri-color heap with write barriers

Platform spec ADR

Abfall tri-color heap with write barriers

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

The prior arena model needed a collector that supports concurrent marking and precise scanning with compiler-emitted descriptors.

ComponentRole
AbfallTri-color mark/sweep heap integrated in beskid_runtime::gc
Barriersgc_write_barrier on pointer stores during marking
STWLimited stop-the-world for root scan and phase transitions
SnapshotsGcSnapshot / enter_runtime_scope for host tooling

Git anchor: 6ecd493 (vendored Abfall + Beskid heap integration).

Lowering must emit barriers where Phase requires them. Hosts attach runtime scope before JIT/AOT execution.

compiler/crates/beskid_runtime/src/gc/; JIT runtime tests.