libdd-alloc

Crates.iolibdd-alloc
lib.rslibdd-alloc
version1.0.0
created_at2025-11-17 14:03:48.646379+00
updated_at2025-11-17 14:03:48.646379+00
descriptionCustom memory allocators for specialized allocation patterns in profiling and signal-safe contexts
homepagehttps://github.com/DataDog/libdatadog/tree/main/libdd-alloc
repositoryhttps://github.com/DataDog/libdatadog/tree/main/libdd-alloc
max_upload_size
id1936820
size58,886
libdatadog-owners (github:datadog:libdatadog-owners)

documentation

README

libdd-alloc

Custom memory allocators for specialized allocation patterns.

Overview

libdd-alloc provides specialized memory allocators designed for use in constrained environments such as signal handlers, crash handlers, and performance-critical code paths where standard allocation may not be suitable.

Features

  • no_std Compatible: Works in environments without standard library support
  • Linear Allocator: Bump allocator with minimal per-allocation overhead
  • Chain Allocator: Growable arena allocator that automatically expands
  • Virtual Allocator: Page-based memory allocation using OS-specific APIs
  • Allocator API: Implements standard allocator traits for compatibility
Commit count: 1422

cargo fmt