Skip to content

Junk filling with mimalloc #1265

@jmather-sesi

Description

@jmather-sesi

One feature that we miss from jemalloc is junk filling. When enabled, all allocated bytes are set to the value 0xA5. The number isn't important, but it can be a useful debugging tool when looking at memory dumps as it indicates an area that has been allocated, but hasn't been initialized to anything.

I believe mimalloc doesn't initialize the memory to any value, instead just returning whatever is pre-existing at that address. It would be great if mimalloc had this capability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions