Skip to content

where to run finalizers #3

Open
@luite

Description

when running finalizers for weak references, the garbage collector spawns a new thread every time it has finalizers to run, which means that finalizers can be run out of order (where finalizers from a later collection get run first).

should we run all finalizers in a single thread? (which should probably have some queue (MVar?) where it gets all the finalizers from.

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