Skip to content

[NativeAOT-LLVM] Threads and GC Poll #2806

Open
@yowl

Description

@yowl

I'd like to move threads forward a little bit. We need to insert calls to RhpGcPoll (currently a NOP) into the generated code, I think we are going to do this when making managed calls, is that enough places? Are we concerned with a method that has a long running loop that makes no calls?

Secondly, should we be doing this in llvmlower.cpp or in fgInsertGCPolls or... ?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-NativeAOT-LLVMLLVM generation for Native AOT compilation (including Web Assembly)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions