Skip to content

[vm] Expose isolate's origin id (the id of the spawning isolate or (if no other isolate spawned it, it's own isolate id) #56732

Open
@mkustermann

Description

@mkustermann

We should consider exposing the isolate spawn topolology in the vm-service protocol. That would allow debugging tools such as DevTools to display all isolates of an isolate group as a spawning tree (or forest, if some intermediary ones have died).

The spawner of an isolate is the originId, if there was no spawner (the isolate wasn't created via Isolate.spawn() API) then it's the isolate's own mainPort id.

One may also consider exposing on the isolate group object the isolate id of the first isolate in the group.

/cc @bkonyi

Metadata

Metadata

Assignees

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 teamvm-serviceThe VM Service Protocol, both the specification and its implementation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions