Skip to content

teach rustc to replace the system allocator with jemalloc in executables #18896

Closed
@thestinger

Description

@thestinger

The compiler can expose the ability to replace the system allocator in executables. On platforms where this is done via weak symbols, it can likely just inject strong aliases. If the allocator is not being replaced, then it should really be setting dss:disabled via the magic global jemalloc uses to set options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-allocatorsArea: Custom and system allocatorsA-frontendArea: Compiler frontend (errors, parsing and HIR)I-slowIssue: Problems and improvements with respect to performance of generated code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions