Skip to content

improve chunk allocation scheme used by Arena / TypedArena #17931

Closed
@thestinger

Description

@thestinger

It should attempt in-place growth before falling back to allocating a new chunk. The initial size and growth should be chosen to map well onto jemalloc. Rather than an intrusive linked list of chunks, it should probably just keep the metadata out of band for simplicity and to avoid bumping the allocations into a higher size class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-allocatorsArea: Custom and system allocatorsI-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