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§
Macros§
Structs§
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