Skip to content

[vm] NativeCallable.isolateLocal should enter owned isolate #61623

@liamappelbe

Description

@liamappelbe

If NativeCallable.isolateLocal is invoked on a thread that is not entered into any isolate, but is the owner of the target isolate (according to the new isolate ownership API), we can enter that isolate, invoke the callback, then exit it again. Currently this case just FATALs.

Context: dart-lang/native#1908 (comment)

Metadata

Metadata

Assignees

Labels

P3A lower priority bug or feature requestarea-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

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions