Expand description

An “epsilon” garbage collector, which never garbage collects or frees memory until the garbage collector is dropped.

Essentially, this is an arena allocator.

Because it is backed by a simple arena allocator, the EpsilonSystem is !Sync, and can’t be used by multiple threads at once (although references to it can be freely sent around once already allocated).

Modules

The implementation of EpsilonRawVec

Structs

A never-collecting garbage collector context.

A dummy implementation of GcSystem which is useful for testing

Functions

Coerce a reference into a Gc pointer.

Coerce a slice into a GcArray.

Coerce a &str into a GcString

Allocate a (fake) Gc that points to the specified value and leak it.

Type Definitions