Skip to content

Consider getting rid of "roots" in the runtime and handle it all with NSAutoreleasePool #20

@mulle-nat

Description

@mulle-nat

It might simplify the runtime.

The root autoreleasepool would be either on the universe or on the mainthread. This root pool would need to be locking...
Singletons and Placeholders could live there. The destruction of the universe would just clean that autoreleasepool.

The autoreleasepools would nevertheless not contain all objects. static strings would not be autoreleased. Also objects in relationships with objects in pools, where the constructing autoreleasepool is no longer, wont be found.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions