Skip to content

Implement a way to create shareable Map #61522

@aam

Description

@aam

To support dart-lang/language#4515 various core fields have to be tagged vm:shared. This is so that they are initialized once per isolate group to avoid initializing them for isolate group bound callback.

Among those fields is Map<String, Uri>? _packageMap

Map<String, Uri>? _packageMap = null;

So this issue tracks allowing creation of such (more-than likely immutable/const) maps, perhaps limited to dart core libraries.

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.triagedIssue has been triaged by sub team

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions