Skip to content

mi_collect(false) does not always complete scheduled purges #1246

@4jsquared

Description

@4jsquared

In some cases, purgeable slices from arenas are not purged when calling mi_collect(false) regularly.
Specifically, it seems like mi_arenas_try_purge resets subproc->purge_expire if it doesn't purge anything from any of the arenas - however this can happen because the arenas have their own purge_expire which hasn't been reached yet.

Observered in 3.1.6 and 3.2.8

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