Skip to content

[mono][interp] Speed up invoke path #79029

@BrzVlad

Description

@BrzVlad

Following #72717, a good chunk of the invoke path was move to the managed size. On interpreter, this code is being executed slower. This drop in performance appears to only affect invoking of methods that receive byrefs.

Most of the time spent is in certain type related internal methods, like : RuntimeType:IsValueTypeImpl, RuntimeType:TryByRefFastPath, RuntimeTypeHandle:GetElementType, RuntimeType:IsSubclassOf which also make use of a lot of QCallTypeHandle:.ctor. Consider intrinsifying some of these methods or tweaking the managed path to better suit mono interpreter.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions