Skip to content

Define and implement behavior of NativeAOT EventPipe IPC if there's already another runtime in the process #88087

Open
@vitek-karas

Description

@vitek-karas

With NativeAOT it's more likely that there will be multiple runtimes in one process. For the most part this should work, but the IPC created by EventPipe is a process wide resource. We should define and implement the desired behavior.

My opinion:

  • It should be possible to host multiple NativeAOT runtimes in a single process, with degraded diagnostics experience.
  • One such solution would be that the component disables EventPipe during build, in which case it should just work
  • I think it would be good that it still works even if EventPipe is enabled during build, it would simply "disable" itself if the IPC is already created by something else in the process. Effectively implementing a first one wins strategy.

@LakshanF

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions