ristretto_gc 0.32.0

JVM Garbage Collector
Documentation
//! # Ristretto GC
//!
//! [![Code Coverage](https://codecov.io/gh/theseus-rs/ristretto/branch/main/graph/badge.svg)](https://codecov.io/gh/theseus-rs/ristretto)
//! [![Benchmarks](https://img.shields.io/badge/%F0%9F%90%B0_bencher-enabled-6ec241)](https://bencher.dev/perf/theseus-rs-ristretto)
//! [![License](https://img.shields.io/crates/l/ristretto_gc)](https://github.com/theseus-rs/ristretto#license)
//! [![Semantic Versioning](https://img.shields.io/badge/%E2%9A%99%EF%B8%8F_SemVer-2.0.0-blue)](https://semver.org/spec/v2.0.0.html)
//!
//! A low pause, concurrent and parallel mark and sweep garbage collector implementation for the
//! Ristretto VM. This crate provides `Gc<T>` types for garbage collected references, using a pure
//! reachability analysis algorithm with automatic cycle detection and collection.

#![allow(unsafe_code)]
#![cfg_attr(
    test,
    expect(
        clippy::indexing_slicing,
        reason = "unit tests assert fixture contents by index"
    )
)]

mod collector;
mod config;
mod error;
mod finalizer;
mod gc;
mod metadata;
mod pointers;
mod root_guard;
pub mod sync;

pub use collector::{GarbageCollector, Trace};
pub use config::{Configuration, ConfigurationBuilder, Statistics};
pub use error::{Error, Result};
pub use finalizer::Finalize;
pub use gc::Gc;
pub use root_guard::GcRootGuard;