Skip to content

[vm/ffi] Verify leaf calls do not do callbacks #60021

@dcharkes

Description

@dcharkes

If a leaf call decides to call back into Dart, the GC might run, which leads to errors on (or immediately after) the return sequence of the leaf call.

we should probably consider putting verification in place (under a flag enabled in profile builds?) to make catching this sort of issues easier.

Originally posted by @mraleph in #162064

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions