Skip to content

Implement shareable Uri to enable rootScript use across isolates #61521

@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 properties is Uri? rootScript

Uri? _rootScript;
.
So this issue tracks allowing Uri objects be shared, which currently is not allowed because Uri is not trivially-shareable type.

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