Skip to content

Commit

Permalink
Moving fast parts of cast FCALLs to managed code. (#1068)
Browse files Browse the repository at this point in the history
* Exposed casting cache to managed code
* Implemented a managed version of cache lookup
* Moved `JIT_IsInstanceOfAny` and `JIT_ChkCastAny`  to managed code as the first ones to move.
* Skip managed JIT helpers in exception stack traces and debugger
* Managed `JIT_IsInstanceOfInterface`
* All other cast helpers are managed.

Fixes:https://github.com/dotnet/coreclr/issues/27931
  • Loading branch information
VSadov authored Jan 22, 2020
1 parent 375a15b commit c3dc1fd
Show file tree
Hide file tree
Showing 22 changed files with 682 additions and 1,158 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@
<Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\CrossLoaderAllocatorHashHelpers.cs" />
<Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\DependentHandle.cs" />
<Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\GCHeapHash.cs" />
<Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\CastHelpers.cs" />
<Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\ICastableHelpers.cs" />
<Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\QCallHandles.cs" />
<Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\RuntimeFeature.CoreCLR.cs" />
Expand Down Expand Up @@ -467,5 +468,5 @@
<ItemGroup>
<EmbeddedFiles Include="@(GeneratedResxSource)" />
</ItemGroup>
</Target>
</Target>
</Project>
Loading

0 comments on commit c3dc1fd

Please sign in to comment.