Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ILRuntime/CLR/Utils/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ public static List<IType> GetParamList(this MethodReference def, ILRuntime.Runti
{
name = t.FullName + "[]";
}
else if (name == gp.Name + "[0...,0...]")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

该修改会导致函数调用时产生额外的不必要GC Alloc,需要换个方式来识别,这个方法是高频执行方法,需要对这个主意

{
name = t.FullName + "[,]";
}
else
{
/*name = name.Replace("<" + gp.Name + ">", "<" + ga.FullName + ">");
Expand Down