Skip to content

[vm] Should native finalizers run on hot-restart #50016

Open
@dcharkes

Description

@dcharkes

We guarantee to run all native finalizers before VM-shutdown completes.
We do not guarantee to run all native finalizers before an isolate shuts down.

Should hot-restart have the VM-shutdown semantics? E.g. all heaps get released and all native finalizers are run before hot-restart completes? Or, should it be thought of as simply shutting down all isolates and starting new ones but not stopping and starting the VM?

cc @mraleph

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work onarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.customer-fluttervm-gcRelated to the VM's garbage collector

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions