Skip to content

Commit

Permalink
[mono] Increase the number of preallocated trampolines for Mono FullA…
Browse files Browse the repository at this point in the history
…OT runtime test runs (dotnet#59737)

I have no justification for these numbers; they were pulled from
MonoAOTCompiler.props. It might be a good idea to port the "infinite
trampoline" hack to non-Apple platforms.
  • Loading branch information
imhameed authored Sep 29, 2021
1 parent 750965d commit 37ceb3c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tests/run.proj
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,12 @@ namespace $([System.String]::Copy($(Category)).Replace(".","_").Replace("\","").

<ItemGroup>
<MonoAotOption Condition="'$(MonoFullAot)' == 'true'" Include="full" />
<MonoAotOption Condition="'$(MonoFullAot)' == 'true'" Include="nimt-trampolines=2000" />
<MonoAotOption Condition="'$(MonoFullAot)' == 'true'" Include="ntrampolines=10000" />
<MonoAotOption Condition="'$(MonoFullAot)' == 'true'" Include="nrgctx-fetch-trampolines=256" />
<MonoAotOption Condition="'$(MonoFullAot)' == 'true'" Include="ngsharedvt-trampolines=4400" />
<MonoAotOption Condition="'$(MonoFullAot)' == 'true'" Include="nftnptr-arg-trampolines=4000" />
<MonoAotOption Condition="'$(MonoFullAot)' == 'true'" Include="nrgctx-trampolines=21000" />
<MonoAotOption Include="llvm" />
<MonoAotOption Include="llvm-path=$(MonoLlvmPath)" />
<MonoAotOption Condition="'$(__MonoToolPrefix)' != ''" Include="tool-prefix=$(__MonoToolPrefix)" />
Expand Down

0 comments on commit 37ceb3c

Please sign in to comment.