Skip to content

[vm/ffi] Native asset dynamic libraries should be dlclosed on isolate (group) shutdown #55521

@dcharkes

Description

@dcharkes

We have an open issue for caching:

When we address caching, we should cache per isolate group, so that we can dlclose (decreasing the ref count) per isolate group.

N.b. We need to make sure that multiple isolates racing for the same memoizable idempotent call only dlopen once to not get lost in the refcount.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-ffi

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions