Crate rsgc

Source
Expand description

§RSGC

RSGC is a garbage collector for Rust. It is designed to be used for languge runtimes.

RSGC is concurrent and conservative-on-stack precise on heap garbage collector.

For example usage see examples directory or implementations of basic types in src/system directory.

§Features

  • Conservative on stack garbage collection, no need to register your pointers precisely.
  • Concurrent garbage collection, mutators are stoped only for small period of time.
  • Small latency, usually less than 20ms.
  • A lot of tuning options. You can choose different region sizes, different GC heuristics, configure GC threads, etc.
  • Supports multiple mutators (threads) running and allocating at the same time.

Re-exports§

pub use heap::thread;

Modules§

heap
prelude
sync
system
utils

Macros§

offsetof

Structs§

FormattedSize

Functions§

force_on_stack
formatted_size
formatted_sizef
needs_write_barrier
Returns true if write barrier is required when writing to a field of type T.
new_i32